C
c676228
Hi All,
Our company is merging two production domains(from two different servers)
onto one server. So during the migration we use an intranet testing server to
hold all files from these two domain, when we do testing, we use host file to
map intranet IPs to these two domains. It will not impact on production
sites since it won't be seen externally. These two domains navigable each
other, that means from domainA we have links to domainB, while from domainB,
we have links to domainA.
These domain names are all hard coded in the program.
Now it seems a big problem. When we move all these file to a new production
server which is at a public hosting company, we need to do testing, at this
moment,
old production servers are still running and we have to use IPs to do
testing, cannot map IPs to domain names at all. That means all hard-coded
links from domainA to domainB will not work, and I have to change all the
links from domain name to IP?
Then when we finally go live with our new production server, I have switch
back to
domain name, what a mess? I didn't think through all those steps when we did
it.
Anybody has better solution?
Thank you so much
Our company is merging two production domains(from two different servers)
onto one server. So during the migration we use an intranet testing server to
hold all files from these two domain, when we do testing, we use host file to
map intranet IPs to these two domains. It will not impact on production
sites since it won't be seen externally. These two domains navigable each
other, that means from domainA we have links to domainB, while from domainB,
we have links to domainA.
These domain names are all hard coded in the program.
Now it seems a big problem. When we move all these file to a new production
server which is at a public hosting company, we need to do testing, at this
moment,
old production servers are still running and we have to use IPs to do
testing, cannot map IPs to domain names at all. That means all hard-coded
links from domainA to domainB will not work, and I have to change all the
links from domain name to IP?
Then when we finally go live with our new production server, I have switch
back to
domain name, what a mess? I didn't think through all those steps when we did
it.
Anybody has better solution?
Thank you so much