We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now


Move a site to a new domain name on the same dedicated server

birwin asked
Medium Priority
Last Modified: 2012-05-11
I have a dedicated server using WHM/cPanel.

I have a current domain on the server (e.g. www.xxxx.com)

I want the full content of that site transferred to a new domain name (e.g. www.yyyyy.com)

I then want the first domain (now empty) to point to the second domain.

What is the best way to do this?
Watch Question

If the server is dedicated, does it evaluate the hostname at all?
As in: Do you get the normal content when browsing to its IP address rather than its name?
In that case, adding a DNS record for www.yyyyy.com should mostly suffice.


Neither site has a dedicated IP address.

I am hoping for a solution that I can handle using cPanel.

Use the function of domain parking from your WHM. You can also just rename the domain name from WHM.


Will renaming it not wipe out any files?

Also, does renaming with WHM set the correct DNS entries?

Yes. Whm Will do all the renaming without deleting files. It Will change ownership, change database names, usernames. It Will not change the passwords. You Will need to update your connection string if you are using database. It Will also update the DNS.
Unlock this solution with a free trial preview.
(No credit card required)
Get Preview


Thank you.
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a free trial preview!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.