I'm trying to set up a sub domain for development on a windows server and am having problems setting the correct details in the httpd.ini file and hoped soemone could help.
I have set up the subdomain
- http://dev.website.com
The files that I want to use for this subdomain are on the server in a folder called development
- http://www.website.com/development
in the directory structure they are in
- /htdocs/development
What do I need to add the the httpd.ini file to point the http://dev.website.com to file files located in the /htdocs/development folder on the server?
Also remember to create a web application in IIS since you'rte hosting a separate domain under an existing app. See www.iis.net for help in configuring IIS.
nineseven
0 Points
1 Post
Setting up subdomain on windows hosting
Jun 17, 2010 03:19 PM|LINK
Hi
I'm trying to set up a sub domain for development on a windows server and am having problems setting the correct details in the httpd.ini file and hoped soemone could help.
I have set up the subdomain
- http://dev.website.com
The files that I want to use for this subdomain are on the server in a folder called development
- http://www.website.com/development
in the directory structure they are in
- /htdocs/development
What do I need to add the the httpd.ini file to point the http://dev.website.com to file files located in the /htdocs/development folder on the server?
Many Thanks
HostingASPNe...
All-Star
15882 Points
2977 Posts
Re: Setting up subdomain on windows hosting
Jun 17, 2010 04:09 PM|LINK
Hello,
httpd.ini is a Linux settings. In Windows you should set the correct host header in Windows in IIS console - Website properties - Web site - Advanced.
Also you should set the correct DNS settings for the subdomain.
Regards
Free ASP.NET Examples and source code.
jeff@zina.co...
All-Star
87677 Points
11637 Posts
Moderator
Re: Setting up subdomain on windows hosting
Jun 19, 2010 12:29 PM|LINK
Also remember to create a web application in IIS since you'rte hosting a separate domain under an existing app. See www.iis.net for help in configuring IIS.
Jeff