I want to host two or more small web sites on the one hosting account. This is the way I plan to do it but I just wanted to check that it was good practice and whether there are any problems likely to arise from using this method.
(1) I develop my principal site on MYACCOUNT and point the domain name DOMAIN1.COM to the root of MYACCOUNT.
(2) I then create a second site in a subdirectory of MYACOUNT. Lets say the subdirectory is called SITE2. If I type the url DOMAIN1.COM/SITE2 I get the home page of my secomd site, but I don't publicise this address and I don't put a link to it anywhere so no one would normally know about it.
(3) I point my second domain name DOMAIN2.COM to the subdirectory so whenever someone types DOMAIN2.COM they get the site at DOMAIN1.COM/SITE2 displayed in their browser, although the address in the browser will display as DOMAIN2.COM.
I know this method works but is there a better method of pointing 2 or more domain names to the same hosting space?
Rob Wheeler (UK)
(1) I develop my principal site on MYACCOUNT and point the domain name DOMAIN1.COM to the root of MYACCOUNT.
(2) I then create a second site in a subdirectory of MYACOUNT. Lets say the subdirectory is called SITE2. If I type the url DOMAIN1.COM/SITE2 I get the home page of my secomd site, but I don't publicise this address and I don't put a link to it anywhere so no one would normally know about it.
(3) I point my second domain name DOMAIN2.COM to the subdirectory so whenever someone types DOMAIN2.COM they get the site at DOMAIN1.COM/SITE2 displayed in their browser, although the address in the browser will display as DOMAIN2.COM.
I know this method works but is there a better method of pointing 2 or more domain names to the same hosting space?
Rob Wheeler (UK)
Comment