• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 366
  • 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
The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

 
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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.

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