You are Here:
FAQ
Domains
FrontPage Extensions
FrontPage Extensions for MS Hosting Packages
Article #7
|
MS FrontPage for multiple domains (FP 2003)Some important rules when it comes to MS shared hosting and FrontPage extensions. If there is more than one domain in the MS Hosting package then all domains that need FrontPage extensions should point to the ROOT folder(/.) All domains point to the ROOT folder by default unless changed. ![]() To sum up the process briefly, you have to create subwebs for each of your domains under one main web. SUBWEB (subsite): A subweb (subsite) is a folder in your site that FrontPage treats as a distinct web. You use subwebs to apply different permissions structures, themes etc for your website without changing them for the whole web. Therefore you can develop multiple websites with different themes without interfering with each other. 1. Open FrontPage. Click File -> New. ![]() 2. Click One page Web Site... ![]() 3. Select Empty Web Site. Give a name for the main web. Click OK. ![]() 4. The new web is created. Click View -> Folder List. ![]() 5. Create a new subweb (subsite) for each of the domains. Right click the main web -> New -> Subsite... ![]() 6. Select Empty Web Site and give a name to the subsite. It can be the domain name. Click OK. Do the same for your other domains too. ![]() 7. Once the Subsites are created, create a new file. This file will redirect your domains to the respective webs. Click the icon that creates new files. ![]() 8. Click File -> Save As. Enter the file name as default.asp. Click Save. ![]() 9. Go to Code mode and delete all the text in it. ![]() 10. Place the following code in it. Please change the domain names to reflect your domain names. Save the file. ![]() usa-test.com and tranquilhome.com should be substituted with your domain names
<%EnableSessionState=False
host = Request.ServerVariables("HTTP_HOST")
if host = "usa-test.com" or host = "www.usa-test.com" then
response.redirect("http://usa-test.com/usa-test/index.htm")
elseif host = "tranquilhome.com" or host = "www.tranquilhome.com" then
response.redirect("http://tranquilhome.com/tranquilhome/index.htm")
else
response.redirect("http://tranquilhome.com/error.htm")
end if
%>11. Now develop the websites for each of your domains in the respective webs. (For e.g. website for usa-test.com will be created in "usa-test" subsite and website for tranquilhome.com will be created in "tranquilhome" subsite.) Double click the subsite to access it. ![]() 12. Create the home page of the website. It has to have the same name as you specified in default.asp script. [ response.redirect("http://usa-test.com/usa-test/index.htm") ] Now you can create your website as normal. Do the same with the other web too. ![]() 13. Once the websites are ready, you can publish using any domain name. Please follow FAQ: How to publish from FP 2003 after developing my websites |
© 2007 1&1 Internet Inc - About 1&1 Internet