Joebscripting
06-12-2006, 12:35 PM
I am completely new to this stuff, and have a real problem. A client had a website (completely flash and done by someone else). They also had another domain name pointing to the same dns server but not being hosted (they are only paying for hosting for the first domain). There was a sub-folder on their site with web pages for the second domain. Somehow, the previous people who had done the sites had done a redirect so that if you typed the second domain name into your browser it would open those web pages, yet only show the second domain in the address bar (that is, it would not show it as a sub-directory of the main domain).
I was asked to re-write the main site in html. I then downloaded and saved the original folders from the site, deleted them from the server and uploaded all my pages (but kept the sub-folder with the second sites web pages on the server). Now when I type the second domain name into a browser it goes to the main site pages instead, but still shows the second domain name in the address bar, and as a browse the main sites pages the second domain name stays in the address bar rather than the main domain name.
The hosting company isn't any help except to say they figure the original site managers wrote an asp file that originally made the second domain name automatically go to the second domains pages in the subfolder. So I uploaded all of the asp files I had taken off the site but it hasn't restored things so that typing the second domain name into a browser will automatically go to the subfolder with its pages. It still goes to the main site.
Can anyone help me with how to make this work the way it did before? I'm posting this here simply because the hosting people said it was likely an asp thing. And because they don't consider it a hosting issue they want to charge $75.00 per hour to "look into it".
Any and all help would be much appreciated. I know nothing about asp, so if anyone can provide me with a redirect file or javascript that would allow one to type the second domain into a browser, keep that name in the browser and access the subfolder I would sure appreciate it.
Regards,
JoeB
I was asked to re-write the main site in html. I then downloaded and saved the original folders from the site, deleted them from the server and uploaded all my pages (but kept the sub-folder with the second sites web pages on the server). Now when I type the second domain name into a browser it goes to the main site pages instead, but still shows the second domain name in the address bar, and as a browse the main sites pages the second domain name stays in the address bar rather than the main domain name.
The hosting company isn't any help except to say they figure the original site managers wrote an asp file that originally made the second domain name automatically go to the second domains pages in the subfolder. So I uploaded all of the asp files I had taken off the site but it hasn't restored things so that typing the second domain name into a browser will automatically go to the subfolder with its pages. It still goes to the main site.
Can anyone help me with how to make this work the way it did before? I'm posting this here simply because the hosting people said it was likely an asp thing. And because they don't consider it a hosting issue they want to charge $75.00 per hour to "look into it".
Any and all help would be much appreciated. I know nothing about asp, so if anyone can provide me with a redirect file or javascript that would allow one to type the second domain into a browser, keep that name in the browser and access the subfolder I would sure appreciate it.
Regards,
JoeB