Vps are costly about price start from 20$ per month. beginner can not use it and i see every new blogger or who is not have knowledge about managing server,they use Shared hosting. Bluehost and hostgator gives shared plans in 6$ per month. So why use shared even Digitalocean and linode gives only in 5$ per month (you can pay every month).
i am in web development field from last 2 year and get some knowledge about linux, ubutntu server.
here i am writing how manage a vps server
many bloggers use serverpilot for installing wordpress but i don’t like it.
Why Not server pilot?
- It is paid, its free version not provide complete features.
- Can not install ssl easily if you not have knowledge about linux commands.
- Not give phpmyadmin and database management.
- Also not give file manager.
- Not give support in free plan.
- gives only one sftp user.
According to my experience best solution for manage vps is vestacp.
vestcp is free alternative of cpanel.
gives automatic backup features.
free one click letsencrypt ssl installation.
you can install file manager (pydio or net2ftp).
database management, PHPMYADMIN.
Best community support.
free emails for domain.
how to install vestacp on ubuntu server
- create a droplate.
- Now download putty ssh client.
- login in putty using your root password.(password not visible in putty so enter carefully passwords. if you want paste then press your mouse’s right key)
- use this command for install vestacp
curl -O http://vestacp.com/pub/vst-install.sh
bash vst-install.sh --force
it will ask for continue enter Y.
now enter your domain name
it will take 15 minute to install so wait.
after complete installation you will see your id and passwords.
for login in vesatcp use them.
for login vestacp use this https://yourip:8083 . it will ask for password enter which you get above.
for check vestcp is installed properly open your ip in your browser it will showing defult vesta page.
now add domain and point your name server.
you can create here database user , database and host dynamic websites.
for login phpmyadmin
use this http://yourip/phpmyadmin
user name root and password is same of vestacp.
you can access your files in filezilla client. or you can install file manager pydio and net2ftp.
Bloggers wants wordpress instillation so use below steps for install wordpress in vestacp
first navigate folder for install wordpress;-
now download latest wordpress
move wordpress files in domain public_html folder
mv * .[^.]* …
remove empty wordpress folder
now create a database and database user from vestacp.
now open you url in browser
it will ask for database , database user , and password. enter it
in next step choose your wordpress details and complete setup wordpress.
now you can login into wordpress.
but you can face a problem .try to install any plugin or theme it will ask for ftp passwords.
Basically you not have upload permission.for enable upload permission use this command in putty.
chown admin -R *
How setup ssl in vestcp
for install ssl go in vestacp dashboard and choose web menu option.
select domain for install SSl .
click on edit and check ssl support and then check letsencrypt and click on save.
wait ssl will activate in 1 minute.
if you have any doubt in above process please ask here your query i will help you.
and i request to @denharsh @GulshanKumar if i forget something then correct it.