Welcome to WebmasterWorld Guest from

Forum Moderators: phranque

Message Too Old, No Replies

Totally New to Linux VPS

how to ADD site in linux VPS

11:52 pm on Mar 13, 2010 (gmt 0)

New User

5+ Year Member

joined:Mar 13, 2010
posts: 2
votes: 0


I owned wallpapers site which was initially hosted on a shared hosting. after reading few online tutorials i got my site running.

Now i got myself a Linux VPS (Centos) with virtzo parellel panel and am unable to understand what to do with it.
My site uses php and Mysql.

My questions are

where to put my files
how to import my previous MySQL database and add a DB user name with all privileges to that database.

where to and how to add my domain.

Any help would be greatly appreciated.
1:13 am on Mar 14, 2010 (gmt 0)

Senior Member from KZ 

WebmasterWorld Senior Member lammert is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Jan 10, 2005
posts: 2951
votes: 34

Hi kamijack,

First of all welcome to WebmasterWorld!

I haven't used Virtuozzo panel in the past so can't comment on that, but on Centos the site source scripts are normally stored in the /var/www directory tree. With one site on the VPS it is probably in /var/www/html, with a VPS capable of multiple sites it may be another subdirectory within that tree. Settings for the Apache webserver are in /etc/httpd/conf, but you will probably manage those settings in Virtuozzo, rather then editing the config files directly.

The safest way to transfer the MySQL database is to dump it to an SQL text file, and then upload it again via the control panel. Be sure to only remove your files and data from your shared hosting account when everything is running fine on your new server.

Parallels, the makers of the Virtuozzo control panel have a number of downloadable user manuals on their website. You can find the manual for your specific setup by choosing the product which is installed on your VPS from the Products menu, and then click on the Documentation link in the side menu.
7:34 pm on Mar 14, 2010 (gmt 0)

New User

5+ Year Member

joined:Mar 13, 2010
posts: 2
votes: 0

Thx a million times lammert.

evry thing went smooth and perfectly.
Just 2 more things how to add DB user to database and hosting support told me to add another domain in IIS or something like that. as per offer i got 1 free domain name with my package and they configured it with vps but i want to add my previous domain, example.com.

and after doing all this what will be DNS settings i mean like ns1 and ns2. my server ip or some thing else

Kindly guide me though with these steps
Warm Regards

[edited by: eelixduppy at 8:05 pm (utc) on Mar 14, 2010]
[edit reason] removed specifics [/edit]