- Rep Power
New Subdomain Mapping Support
PowWeb has added unlimited subdomain support to our webservers. You can now use any subdomain of your domain and it will automatically go to the htdocs directory inside a direcotry by the same name outside your main htdocs directory. Since PowWeb allready has a wild card DNS entry for your domain pointing everything to our webservers, you can setup any subdomain you want simply be creating a directories.
Basically this is how it will work:
will check to see if the directory
/www/u/username/subdomain/htdocs exists, if not it will send you to the normal Document Root. This will work for any pointer domains to your site as well. You can also use www.subdomain.domain.com.
You will not be able to point sub directories of pointer domains to different directories than the subdomains of your main domain... for example, if you have domain1.com and a pointer domain domain2.com:
will both work and go to the same page, however they can not go to different pages. You can still however point the domain itself to another directory, or use mod_rewrite as previous customers have done to achieve this.
- Rep Power
Please Note Format Change
Please note the above information has been edited to allow current customers using mod_rewrite to keep their settings. This new format will also allow you to create your own cgi-bin script alias for subdomains by createing a cgi-bin directory in the same directory your htdocs directory is for that subdomain. For example, if your subdomain is:
And you have a directory
you can have a cgi-bin for that subdomain by creating
Otherwise the subdomain will use the same cgi-bin your main site uses.