[Webinar] Streamline your web hosting managementRegister Today

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 993
  • Last Modified:

Move site from subdomain to addon domain (Hostgator)

This is kinda confusing so I want to try to explain as clearly as possible. Here are the facts:

I have wordpress installed and a site created on a subdomain of my primary account on Hostgator (cartersloope2.robertgfrancis.com)

I had previously added an addon domain for cartersloope.com and created a site using the subdomain cartersloope.robertgfrancis.com (notice this one is missing a 2 behind cartersloope)

The site on cartersloope.robertgfrancis.com will be deleted.

I now have the domain cartersloope.com pointed to my Hostgator account using the IP address for the @ as an A record. I do not want to change their DNS dues to other subdomains they have and mail issues.

I need to move the wordpress site located in the subdomain cartersloope2.robertgfrancis.com to the addon domain cartersloope.com

Any help with this would be great. Just don't want to lose the site.

Thanks in advance
1 Solution
Zephyr ICTCloud ArchitectCommented:
So in a way you want to change the URL of your existing Wordpress site... It is possible, but can cause problems if not done correctly, the major issues people face with this is the MySQL database adjustments one needs to do.

There's a how-to/walkthrough at Wordpress: http://codex.wordpress.org/Moving_WordPress

And this one: http://codex.wordpress.org/Changing_The_Site_URL
You simply need to do two things, go in to your hostgator panel and make sure that the folder path is pointing to the location of your new wordpress site, so the same location that cartersloope.robertgfrancis.com is pointing to now. Once you have done this you should find that going to cartersloope.com shows your new site.

It may however look slightly odd, all you need to do then is login to your wordpress site and change both URLs within general to http://cartersloope.com.

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now