Current time: 05-17-2024, 11:42 AM Hello There, Guest! (LoginRegister)


Post Reply 
Migrating Existing Websites into ispCP
Author Message
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #2
RE: Migrating Existing Websites into ispCP
Ispcp is supposed to be installed on a clean system and take full control of it. I'm afraid that the only way to get your previous websites up & running within ispcp is to relocate them to the ispcp-defined locations.

For instance, to re-enable your "test.domain.tld" subdomain that you previously had in "/var/www/test", you should:

1. Add the "domain.tld" domain in ispcp
2. Add a subdomain "test" in ispcp, accept the default "/test" location.
3. Move the files from your previous location: "mv /var/www/test/* /var/www/virtual/domain.tld/test/htdocs/"
4. Correct the files' permissions (chown -R vuXXXX:vuXXXX /var/www/virtual/domain.tld/test/htdocs/*), where vuXXXX corresponds to the owner of /var/www/virtual/domain.tld
5. Make sure to remove any /etc/apache2/sites-enabled/test.domain.tld that you may have previously created. The ispcp-generated /etc/apache2/sites-enabled/ispcp.conf will take care of setting up the correct virtualhost.
01-29-2010 02:42 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Migrating Existing Websites into ispCP - kilburn - 01-29-2010 02:42 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)