Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Change Wordpress Domain Name

Posted on 2011-09-07
6
227 Views
Last Modified: 2012-05-12
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
Comment
Question by:jonathan1978
  • 3
  • 3
6 Comments
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 36500658
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
 

Author Comment

by:jonathan1978
ID: 36500664
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
 

Author Comment

by:jonathan1978
ID: 36500676
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
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 500 total points
ID: 36500692
>> 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
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 36500693
I know nothing about HostGator...different question for a different set of Zones here :)
0
 

Author Comment

by:jonathan1978
ID: 36500709
ok, will post that in another zone.   Thank you with your help :)
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Blog posts not showing up on Blog page 7 67
Divi Theme - extra fonts I don't want 13 41
PHP Syntax Error 4 32
Wordpress doesnt let me access site after adding new post 4 27
How to create your own WordPress Theme Before I begin with the theme design tutorial, I would like to give you the basics of what is required to make a WordPress Theme. The most basic WordPress theme only requires 2 files: a style.css file and an…
So you have coded your own WordPress plugin and now you want to allow users to upload images to a folder in the plugin folder rather than the default media location? Follow along and this article will show you how to do just that!
The purpose of this video is to demonstrate how to properly insert a Vimeo Video into a WordPress site or Blog. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp…
The purpose of this video is to demonstrate how to set up the permalinks on a WordPress Website. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Go t…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question