Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Some help with the move from hosting to a VPS
#2
(10-28-2010, 06:32 PM)IceGuru Wrote: What I wanna know is how do I import the database.

What about BigDump are you having issues with? Have you exported your current database yet? If you haven't then that needs to happen first. Enter the database in phpMyAdmin, choose the export tab and make sure the "save as file" option is checked. Make sure that the data is going to be saved and then hit go. Do yourself a favor and don't bother opening that SQL file.

BigDump should be self-explanatory. Edit the configuration details for the target database. Upload it and the SQL dump to the same directory. Access it from your web browser. Choose the dump file and let it run. BigDump will stagger the importing.

(10-28-2010, 06:32 PM)IceGuru Wrote: Also if I wanna host other sites like example2.com and I wanna put it in /var/www/site2/ Where do I point the domain to or tell my server to let it point there 0.0

Are you managing your own DNS or are you using a third party service (whether it's your host or otherwise)? Either way you'll want to create A records for any new domains, with the IP address of the A record being your server. You'll want to make sure you point not only the top level of the domain to your server's IP but also the "www" subdomain.

Supposing the DNS is done and working, you tell Apache what to do with the domain via a VirtualHost entry. A bare bones VHost looks like this:

Code:
<VirtualHost *:80>
  ServerName different-domain.tld
  DocumentRoot "/var/www/html/domain-dir"
</VirtualHost>
Ho, ho, ho! Well, if it isn't fat stinking billy goat Billy Boy in poison!
How art thou, thou globby bottle of cheap, stinking chip oil?
Come and get one in the yarbles, if ya have any yarbles, you eunuch jelly thou!
Reply


Messages In This Thread
RE: Some help with the move from hosting to a VPS - by Disease - 10-29-2010, 10:23 AM

Forum Jump:


Users browsing this thread: 5 Guest(s)