PDA

View Full Version : Domain Alias to specific page


tooljob\
1st May 2007, 10:39 AM
Is there a way to add domain aliases to a server, and point that alias to a specific page under the main domain? Im think I would have to use a PHP script to get the hostname and then to forward it to the right page.

Thanks for any help...

Joe

DCNet_James
23rd May 2007, 11:37 AM
I would look at the Apache docs.

See here:
http://httpd.apache.org/docs/2.2/urlmapping.html

This talks about rewriting URL's to the file system, ie redirecting a specified URL to a file.

Thanks,
James