Subdomain redirects to different server, maintaining original URL
- by Jason Baker
I just took over the webmaster position in my organization, and I'm trying to set up a development environment separate from the production environment. The two environments are hosted with different companies, both on shared hosting plans.
Right now, production is at domain.com and development is at domain2.com
What I want is to direct my development team to dev.domain.com
More importantly, I don't want the URL to change from dev.domain.com back to domain2.com, but I also be responsive to page changes. For example, if my dev team navigates from dev.domain.com to a page (called "page"), I'd like the URL to show as dev.domain.com/page
Is this possible, or am I just dreaming?