pstar
Jul 13 2004, 01:25 PM
I want to have a subdomain like florida.plugstar.com and want to point it to physical subdirectory named "state" in my root. How can I achieve the same. I want to do it for all the states.
I'm using cpanel and have made some changes to domian admin. redirecting is not working and i'm not even sure if i want to be redirecting i think it should just go to the sub domain. anyone who can help.
eddy2099
Jul 13 2004, 04:42 PM
If you want to make the specific directory pointer, it would be best to modify the link within the httpd.conf file instead. You need to SSH for that.
pstar
Jul 13 2004, 04:45 PM
hi eddy, please explain more.
eddy2099
Jul 13 2004, 05:29 PM
In httpd.conf there are the VirtualHost directives which defines where each site is physically located on the server. You can change the path where the site resides in by changing the directives.
Check out
http://httpd.apache.org/docs/mod/core.html#virtualhost for more information about this directive.