Forum Moderators: phranque

Message Too Old, No Replies

Need to resolve domain and URL path to another external sub-domain

Just need some direction from experts

         

FredFella

3:11 pm on Mar 22, 2007 (gmt 0)

10+ Year Member



Hi there

I have a need for visitors to my company site to be sent to another companies site who hosts a subdomain for us for some specific content. eg.

For visitors to my site going to: [mycompanyname.com...]

I need to have them directed to: [subdomain.othercompanydomain.com...]

The other company will serve up the content and mask their domain with my companies domain. So visitors to the site would see only the domain of my company.

I suppose I am asking if a URL like:
www.mycompanyname.com/specialcontent/
can be treated this way and masked or would I need to use a sub-domain, something like:
specialcontent.mycompanyname.com

Any advice to help me determine my options would be appreciated.

Thank you...

jdMorgan

4:23 pm on Mar 22, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You can either reverse-proxy the requests for /specialcontent to the other server using mod_proxy, or you can define the subdomain's record in your DNS zone file to point to the IP address of the other server.

The advantage of the first method is that you can log these requests. The advantage of the second method is that all requests and responses for the remotely-hosted content do not have to pass through your main server.

Jim