Help - Search - Members - Calendar
Full Version: pointing to physical directory for sub domains
The Planet Forums > System Administration > DNS Hosting
pstar
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
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
hi eddy, please explain more.
eddy2099
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.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.