Forum Moderators: phranque

Message Too Old, No Replies

Preserving domain when redirecting

         

d3vrandom

4:38 pm on Jul 31, 2006 (gmt 0)

10+ Year Member



Hi!

I have purchased a domain say xyz.tld. I haven't purchased hosting for it. Instead I have it redirected to a subdomain on my personal site by everydns. Lets call it abc.personal.tld. I want search engines to index xyz.tld/page.html and not abc.personal.tld/page.html. I also would like it if users see xyz.tld in their address bar. How do I this with access limited to the abc.personal.tld server .htaccess file?

Thanks

jay5r

5:36 pm on Jul 31, 2006 (gmt 0)

10+ Year Member Top Contributors Of The Month



Check out Apache's mod_proxy. It will let the server you want people to use to call the server you don't want people to use. It can increase the time it takes to load the page, and you have to be careful to set up mod_proxy correctly.

Good examples would be a server outside a firewall proxying a server inside a firewall, or a server proxying providing a unified domain for an architecture that's actually composed of several web application servers.

d3vrandom

6:25 pm on Jul 31, 2006 (gmt 0)

10+ Year Member



Jay5r can this be done when I don't have access to the everydns servers? xyz.tld's nameservers are everydns' servers. everydns then redirects to abc.personal.tld. I only have access to the server hosting personal.tld and its subdomains.

jay5r

6:58 pm on Jul 31, 2006 (gmt 0)

10+ Year Member Top Contributors Of The Month



Why not set up virtual hosting on the server that you do have access to (personal.tld)?

d3vrandom

9:35 pm on Jul 31, 2006 (gmt 0)

10+ Year Member



I don't understand what your saying :(. I already have paid shared hosting on personal.tld. I have ftp and control panel access to this server space. My hosting provider doesn't allow me to create add-on domains and I don't want to spend money on separate hosting for xyz.tld.