Go Back   HostGator Peer Support Forums > HostGator Peer Support Forums > Linux VPS Support

Notices

Reply
 
Thread Tools
  #1  
Old 01-31-2012, 04:15 PM
Wolvenmoon Wolvenmoon is offline
Hatchling Croc
 
Join Date: Jun 2010
Posts: 2
Default Changing primary domain's path on VPS

I'm assisting with a site rebuild for an organization. Currently they have the new site on a secondary hostgator account. The goal is to minimize downtime and minimize any deletions.

So my thought was "put the new site in a subdirectory on the old site, get everything lined up, and switch your domain's binding from /public_html/ to /public_html/newsite/".

Unfortunately this is not an addon domain. I went in to my personal cpanel to demonstrate how it would be done and noticed that I can't easily change my primary domain's mapping from within cpanel.

What should I do? Would renaming public_html to public_htmlold and creating a new public_html directory and dropping the new site in to it break anything?

Thanks!
Reply With Quote
  #2  
Old 01-31-2012, 04:19 PM
quietFinn's Avatar
quietFinn quietFinn is offline
Veteran Croc
 
Join Date: Feb 2005
Posts: 3,557
Default Re: Changing primary domain's path on VPS

Quote:
Originally Posted by Wolvenmoon View Post

What should I do? Would renaming public_html to public_htmlold and creating a new public_html directory and dropping the new site in to it break anything?

Thanks!
It does not break anything, just see that the permissions and owner/group are correct.
__________________
quietFinn - netFinn Finland
"Be who you are and say what you feel because those who mind don't matter and those who matter don't mind." - Dr. Seuss
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing primary domain path Manu Shared Hosting Support 1 02-21-2011 07:49 AM
Changing subdomain path Zukdeen Shared Hosting Support 2 01-23-2011 10:22 AM
Changing my primary domain sic.sick6 Shared Hosting Support 1 03-26-2008 03:32 AM
Changing primary domain name ?? tomda Webhosting 6 01-29-2007 11:57 PM
Changing the Primary Domain Kishion Pre-Sales Questions 1 04-17-2006 06:23 PM

All times are GMT -5. The time now is 12:26 AM.