Solved

Change Wordpress Domain Name

Posted on 2011-09-07
6
208 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
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Now that you've installed WordPress 2.9 (http://www.experts-exchange.com/articles/Web_Development/Blogs/WordPress/WordPress-2-9-What-to-Expect-When-Upgrading-to-WordPress-2-9.html?) on your site, you need to install some plugins to get the most out …
WordPress is constantly evolving, and with each evolution appears to get better and better.  One of the big drawbacks prior to version 3 was that there was no way to be able to set up a custom menu from the backend. The Old Way Adding menus is…
The purpose of this video is to demonstrate how to manually back up a WordPress Database. This will be demonstrated using a Windows 8 PC. The Host used will be IPage.com Log into your Hosting account. IPage will be used for demonstration : Locat…
The purpose of this video is to demonstrate how to Import and export files in WordPress. 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 : Click on Too…

746 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now