Hello. I have an interesting question. I currently have two websites: DealMerchant.net and NicksDomain.net. DealMerchant.net is my deal-related website where I provide a daily list of new deals and coupons, while NicksDomain.net is a personal website. Lately, I have been unhappy with the server that DealMerchant.net is on, since at times, my pages take a couple of minutes to load on a T1 line. I would like to move the website to the server that NicksDomain.net is on, since it is always speedy. However, I do not want to overwrite any files.
My question is, on the server's index page for my site, would it be possible to process the domain name that the user entered to visit the site, and redirect the page to the corresponding section? For example, if the user were to enter in could I read the url in and redirect the user to a directory /BETA2/, so that the user would see in their browser, while if they entered it would redirect to a directory named /nick/?
By doing so, I would be able to manage two different websites on the same server. Also, if this is possible, would I encounter any problems if the user were to just link to
Also, if there would be an easier way to do this, I'm open for suggestions.
Nick Ruiz
CO-OP Intern, PPL Electric Utilities
Webmaster, DealMerchant.net
My question is, on the server's index page for my site, would it be possible to process the domain name that the user entered to visit the site, and redirect the page to the corresponding section? For example, if the user were to enter in could I read the url in and redirect the user to a directory /BETA2/, so that the user would see in their browser, while if they entered it would redirect to a directory named /nick/?
By doing so, I would be able to manage two different websites on the same server. Also, if this is possible, would I encounter any problems if the user were to just link to
Also, if there would be an easier way to do this, I'm open for suggestions.
Nick Ruiz
CO-OP Intern, PPL Electric Utilities
Webmaster, DealMerchant.net