Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Is this possible? Redirect domainname to a specific page |
|
Author |
|
flatcircle
Joined: 27 Jun 2006 Posts: 79
|
Posted: Tue 21 Nov '06 15:38 Post subject: Is this possible? Redirect domainname to a specific page |
|
|
Hello,
I'd like to know whether it's possible to redirect a domainname to a specific page on the webserver.
I know I have to create a DNS entry on the DNS server which points to my Apache machine. On this machine, I have running several websites by using 'virtual hosts'. What's the next step? Do I have to use modrewrite to intercept this call to redirect it to this specific .htm-page?
Modrewrite will work globally when added to httpd.conf, so I don't think that modrewrite 'senses' from which domainname to request is coming.
Someone can help me out? Don't have a clue...
Regards.
FC. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
|
Back to top |
|
|
|
|
|
|