Fli
07-11-2015, 03:54 PM
Login zPanel
Home / Server Admin / ZPanel Config, change "Server IP Address" value to be your server IP
Home / Domain Management / Domains / Create new domain
Home / Domain Management / DNS Manager , edit your domain, "Create records" button
Login your domain registar control panel (domain registar is where you registered your domain) and discover on how to "register nameservers". (In case you ordered domain from InstantCpanelHosting, here is how to register them: go to Client Area (http://instantcpanelhosting.com/clientarea.php) / Domains / My Domains / Manage Domain / Management Tools / Register Nameservers. First nameserver will be ns1 and second ns2. The IP is your VPS/server IP)
ns1.yourdomainhere.tld + VPS/server IP
ns2.yourdomainhere.tld + VPS/server IP
(replace yourdomain.tld by your real domain name)
Change your domain nameservers to become ones you just registered (ns1... ns2...). (If domain was ordered from InstantCpanelHosting, then change nameservers from Client Area (http://instantcpanelhosting.com/clientarea.php) / Domains / My Domains / Manage Domain / Nameservers.) This way domain will point to your server. You may then verify domain at www.intodns.com (http://www.intodns.com) to see if there is any serious issue.
Home / Database Management / MySQL Database, create new database
Home / Database Management / MySQL Users, create new user for that mysql
Home / Database Management / phpMyAdmin, login using db name and username previously created
Click database name and choose "Import" tab to import database file/backup
Now upload website files, one can use FTP (Home / File Management / FTP Accounts) or SCP client like FileZilla or WinSCP to connect server via SSH. The directory to upload files should be: /var/zpanel/hostdata/zadmin/public_html/yourdomainHERE_tld/
files should have apache:apache permission, so i do this command via SSH or SCP client: chown -R apache:apache /var/zpanel/hostdata/zadmin/public_html/yourdomainHERE_tld
Then i do following SSH/SCP commands to assign appropriate permissions to the files and folders:
find /var/zpanel/hostdata/zadmin/public_html -type f -iname "*.php*" -exec chmod 644 {} \;
find /var/zpanel/hostdata/zadmin/public_html -type d ! -iname "*tmpl_c*" -exec chmod 755 {} \;
chmod 777 /var/zpanel/hostdata/zadmin/public_html/*
Home / Server Admin / ZPanel Config, change "Server IP Address" value to be your server IP
Home / Domain Management / Domains / Create new domain
Home / Domain Management / DNS Manager , edit your domain, "Create records" button
Login your domain registar control panel (domain registar is where you registered your domain) and discover on how to "register nameservers". (In case you ordered domain from InstantCpanelHosting, here is how to register them: go to Client Area (http://instantcpanelhosting.com/clientarea.php) / Domains / My Domains / Manage Domain / Management Tools / Register Nameservers. First nameserver will be ns1 and second ns2. The IP is your VPS/server IP)
ns1.yourdomainhere.tld + VPS/server IP
ns2.yourdomainhere.tld + VPS/server IP
(replace yourdomain.tld by your real domain name)
Change your domain nameservers to become ones you just registered (ns1... ns2...). (If domain was ordered from InstantCpanelHosting, then change nameservers from Client Area (http://instantcpanelhosting.com/clientarea.php) / Domains / My Domains / Manage Domain / Nameservers.) This way domain will point to your server. You may then verify domain at www.intodns.com (http://www.intodns.com) to see if there is any serious issue.
Home / Database Management / MySQL Database, create new database
Home / Database Management / MySQL Users, create new user for that mysql
Home / Database Management / phpMyAdmin, login using db name and username previously created
Click database name and choose "Import" tab to import database file/backup
Now upload website files, one can use FTP (Home / File Management / FTP Accounts) or SCP client like FileZilla or WinSCP to connect server via SSH. The directory to upload files should be: /var/zpanel/hostdata/zadmin/public_html/yourdomainHERE_tld/
files should have apache:apache permission, so i do this command via SSH or SCP client: chown -R apache:apache /var/zpanel/hostdata/zadmin/public_html/yourdomainHERE_tld
Then i do following SSH/SCP commands to assign appropriate permissions to the files and folders:
find /var/zpanel/hostdata/zadmin/public_html -type f -iname "*.php*" -exec chmod 644 {} \;
find /var/zpanel/hostdata/zadmin/public_html -type d ! -iname "*tmpl_c*" -exec chmod 755 {} \;
chmod 777 /var/zpanel/hostdata/zadmin/public_html/*