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

Change Wordpress Domain Name

Hi,  I need some help with changing domain names for our wordpress website.

I have built the site for a friend which is live on my server eg http://testdomain.com. He has a website built in flash  called eg http://newdomain.com (only has one page/URL, not keeping anything of that website, so no need for 301's)  I know want to change the domain of the site i just built, to my friends domain name (http://newdomain.com).   The website is staying on our server, and keeping the same IP address as http://testdomain.com.  I know how to apply the IP address to the new domain name in GODaddy, putting it as the A record, and have the NS records,  so on that side i know how to do things.

 What i need help with, is how do i change it on wordpress ?  
0
Jon Imms
Asked:
Jon Imms
  • 3
  • 3
1 Solution
 
Jason C. LevineNo oneCommented:
Hi Jonathan,

Right before you activate the new domain name and repoint the A record, etc, open the WordPress Dashboard, go to Settings | General and change the two URLs you see there to newdomain.com and Save Changes.  

That should be all you need to do.
0
 
Jon ImmsWeb DeveloperAuthor Commented:
Is that all ?  My friend was saying i had to download the database, and do a file replace oldomain with new domain.      I was thinking it had to be easier than that.
0
 
Jon ImmsWeb DeveloperAuthor Commented:
Do you happen to know about HostGators control panel ?   I have 5 (the max on my plan) domains/websites on my server, one of which is the site i want to change the domain name for. I'm looking at the control panel, but don'e see any option to change domain name ?
0
Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

 
Jason C. LevineNo oneCommented:
>> Is that all ?  My friend was saying i had to download the database, and do a file replace oldomain with new
>> domain.      I was thinking it had to be easier than that.

You don't need to download the database in this instance since you will have access to the Dashboard prior to the change.  Most of the time we get this question after olddomain.com is no longer working and a different approach is in order.  

You might have to download the Search and Replace plugin if you notice missing images from posts after the changeover.  But assuming your plugins all function and your theme was written well (not using full URLs but root-relative paths and the site_url() function), it should be okay.  

You can certainly download the database and convert anything you find in there and re-upload it, but that's overkill.
0
 
Jason C. LevineNo oneCommented:
I know nothing about HostGator...different question for a different set of Zones here :)
0
 
Jon ImmsWeb DeveloperAuthor Commented:
ok, will post that in another zone.   Thank you with your help :)
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

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