Welcome to WebmasterWorld Guest from 54.166.54.215

Forum Moderators: phranque

1 Domain with 2 Hosts

   
7:44 am on May 8, 2009 (gmt 0)

5+ Year Member



Hello:

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]

3:32 pm on May 8, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



hi rkashyap,

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]

7:32 pm on May 11, 2009 (gmt 0)

5+ Year Member



thanks for your feedback however i do not want to create subdomains as they are considered seperate website pages from seo point of view and i would need to do the seo from scratch. Does anyone else know the answer to my original post?
1:21 pm on May 14, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



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]

3:16 pm on May 15, 2009 (gmt 0)

10+ Year Member



One possible solution would be to use IFRAMES to pull in the other pages from the other host. This would be pretty transparent to the users but then Google would not index the iframe content.
3:12 am on May 18, 2009 (gmt 0)

5+ Year Member



This not possible. You need to have a hosting that support what you need.
 

Featured Threads

My Threads

Hot Threads This Week

Hot Threads This Month