June 18, 201016 yr Hi Folks Okay I have site1.co.uk which along with normal html pages also has a members PHP area with associated MySQL database holding members details, I also have a php forum on the site, using tables within the same database. Client now wants the domain name changed (due to sponsorship) and everything to sit under that ie site2.co.uk I know I could set up domain forwarding etc but they do not want any ref of site1.co.uk to be visible, hope you're still with me! The amount of work setting up site2.co.uk with new hosting etc and publishing everything under there isn't too bad for the html side of the site as its just a copy job. My worry obviously is the existing database how on earth could I move that to a new domain? What I am hoping for is that there is a way of retaining site1.co.uk hosting etc but maybe overwrite the URL to make it look like it's using site2.co.uk as the address? Any thoughts or advice would be appreciated folks!
June 18, 201016 yr Ask your host to do this for you, or find the (e.g.) "domain alias" option if you're using a control panel. It's a trivial operation to map another domain name alias to your existing account. For example, in Apache it's a matter of simply adding: ServerAlias site2.co.uk ServerAlias www.site2.co.uk to the configuration file for your domain! Once you've pointed the DNS A records for site2.co.uk to the same IP as site1.co.uk, you should get exactly what you need. But beware of the search engine duplication issue if you're doing this with any SEO in mind.
Create an account or sign in to comment