Quick & Cheap > Knowledgebase > Managing Linux VPS/Server > How i have installed VestaCP on Ubuntu VPS from instantcpanelhosting.com
in case You are newbie in Vesta control panel this may help you to setup it for website hosting.
After Ubuntu VPS was setup and i had its IP at hand, i registered a domain that i want to host on the VPS, i registered two new nameservers in domain registar control panel. (ns1 -> myvpsIP, ns2 -> myvpsIP). Then i set my domain's nameservers to these newly registered (ns1.mydomain.com, ns2.mydomain.com) I logged into my Ubuntu VPS via SSH (used SSH client called Putty), and executed installation command mentioned on Vesta website:
curl -O http://vestacp.com/pub/vst-install.sh;bash vst-install.sh
it complained that apache2 is installed, so i removed it: apt-get clean;apt-get update -y;apt-get install curl -y;apt-get purge apache2*;
and retried installation, then i was prompted to enter hostname, so i entered custom one: host.mydomain.com
but setup was interrupted after a while with errors:
AH00557: apache2: apr_sockaddr_info_get() failed for host.mydomain.com
Error: apache2 start failed
I fixed it by editing /etc/hosts file and replacing:
vpsiphere qydtwqop.host.name qydtwqop
vpsiphere host.mydomain.com host
restarted networking and apache2:
/etc/init.d/networking restart;/etc/init.d/apache2 restart
apache restarted OK this time, so i retry installation:
bash vst-install.sh --force
it finished and i logged in Vesta on https://host.mydomain.com:8083
There i added new Web (mydomain.com) and in DNS section of this domain i added two A records with name "ns1" and "ns2" and IP set to my vesta server IP address.
I checked DNS at http://intodns.com it looked OK
Now i could edit my Web settings and enable new FTP to upload website files.
Do you face any issues and you are a client? Please login client area and submit support request.
Add to Favourites Print this Article
Powered by WHMCompleteSolution