Forum Moderators: phranque
I am currently hosting a static website on a web hosting server (host#1) that does not support asp scripts (or even any other scripts). I want to create some dynamic pages using asp and host them on another windows hosting companies server (host #2). I cannot move the complete website because of software support issues. As a result any pages ending with .asp extension (asp scripting pages) will resolve to the other windows host (host #2). This is what would need to happen:
http://www.example.com (original host #1)
http://www.example.com/contactus.html (original host #1)
http://www.example.com/news.asp (windows host #2)
As you see in the sample scenario above, the news.asp page would resolve to the second windows host. Also the news.asp page would not exist on the original host #1.
Is this kind of configuration possible? I have been told that some changes may need to be made to the dns zone file? if so what changes?
[edited by: engine at 1:31 pm (utc) on May 14, 2009]
[edit reason] please use example.com [/edit]
I am not a dns expert but I would say that this isn't possible as these are pages for the same domain. What is possible, however, is to have http://www.example.com and http://www.example.com/contactus.html on one server and [news.example.com...] on another. You would need to create the subdomain on your new host and either ask host #1 to modify the dns for it or do it yourself.
[edited by: engine at 1:32 pm (utc) on May 14, 2009]
[edit reason] please use example.com [/edit]
http://www.example.com (original host #1)
http://www.example.com/contactus.html (original host #1)
http://www.example.com/news.asp (windows host #2)As you see in the sample scenario above, the news.asp page would resolve to the second windows host
In all three of those URIs, www.example.com **IS** the host. Talking about "resolving to a different host" doesn't really make sense - le_gber's suggestions were good IMHO.
Is this kind of configuration possible?
No, unless you set up a proxy server on the original host to forward the requests to the new server.
If the original server is just hosting static content, what are the "software support issues" that are stopping you from moving everything to the new host?
[edited by: engine at 1:33 pm (utc) on May 14, 2009]
[edit reason] examplified [/edit]