First, you are still on the same host right... you simply just changed your domain name. If you are on the same host, you can ask them to make your new domain primary, so this will be the domain that is associated with your website. Then, I get all my domains from GoDaddy, so once I forward a domain to another, and choose NOT to mask, it's just a simply a forwarder and the new domain shows up even if I visited it through the old domain. From where do you get your domains?
It was necessary for me to change my domain name (know it isn't a great idea).
I have parked the new domain name on the old one so that everything is accessible. But of course if anyone tries to access the site with the old domain name, that will work as well.
Ideally I'd like to eliminate having that old domain show up in the browser at all. From what I've read, the best way to do this is with a permanent 301 redirect from the old domain to the new. This performs an immediate redirect and keeps the old domain from appearing.
I'm not sure how to do this. I think I need to create a .htaccess file with the code in it to tell the old domain to redirect. My web host has told me I can do it in an index file on the old domain.
I would obviously have to publish/upload all the files to the new domain name folder. I also have a large forum on this website. How do I transfer/copy the SQL database to the new domain name folder?
Is there anything else I need to do?
Or should I just leave everything the way it is now--it can be accessed with either domain name.
I'm familiar enough with tech things to do what's necessary but I'm just not sure about this situation and don't want to mess things up.
If you can help, I'd appreciate it.