• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 319
  • Last Modified:

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?
0
birwin
Asked:
birwin
  • 3
  • 3
1 Solution
 
thehagmanCommented:
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.
0
 
birwinAuthor Commented:
Neither site has a dedicated IP address.

I am hoping for a solution that I can handle using cPanel.
0
 
shaunakCommented:
Use the function of domain parking from your WHM. You can also just rename the domain name from WHM.
0
How do you know if your security is working?

Protecting your business doesn’t have to mean sifting through endless alerts and notifications. With WatchGuard Total Security Suite, you can feel confident that your business is secure, meaning you can get back to the things that have been sitting on your to-do list.

 
birwinAuthor Commented:
Will renaming it not wipe out any files?

Also, does renaming with WHM set the correct DNS entries?
0
 
shaunakCommented:
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.
0
 
shaunakCommented:
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.
0
 
birwinAuthor Commented:
Thank you.
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

WEBINAR: 10 Easy Ways to Lose a Password

Join us on June 27th at 8 am PDT to learn about the methods that hackers use to lift real, working credentials from even the most security-savvy employees. We'll cover the importance of multi-factor authentication and how these solutions can better protect your business!

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