winger Posted April 12, 2006 Share Posted April 12, 2006 Hi all-I have a site (I'll call it newsite.com) all ready to go on a new server, but - for reasons I won't go into - the DNS records for the domain still haven't been changed. So when people type in newsite.com they are still being taken to the old server, which is a major problem for me right now. I would just duplicate the site on the old server until the switch is made, but the old server doesn't have mySQL on it, which the new version of the site uses on virtually every page.I do still have FTP access to the old server, so I've tried simply setting up a PHP redirect to the IP address of the new site. Unfortunately, the new site doesn't have a dedicated IP address on the new server, so it needs the host name as well as the IP address.So in essence, my question is this: is it possible to send an IP address AND a hostname using a PHP header() redirect?Thanks,Colin Quote Link to comment Share on other sites More sharing options...
redarrow Posted April 12, 2006 Share Posted April 12, 2006 The way i Would get around it for know, is to set up a dynamic no ip free service register a new dynamic name for the new sever and then redirect the old domain name to the new dynamic address.GOOD LUCK. Quote Link to comment Share on other sites More sharing options...
winger Posted April 12, 2006 Author Share Posted April 12, 2006 Thanks for the reply, redarrow. Unfortunately, I have no idea what any of that meant. Would you mind expanding a little bit for the benefit of a neophyte? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.