Link to home
Start Free TrialLog in
Avatar of birwin
birwinFlag for Canada

asked on

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

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?
Avatar of Member_2_4694817
Member_2_4694817

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.
Avatar of birwin

ASKER

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.
Avatar of birwin

ASKER

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.
ASKER CERTIFIED SOLUTION
Avatar of shaunak
shaunak

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of birwin

ASKER

Thank you.