Showing posts with label Web Hosting. Show all posts
Showing posts with label Web Hosting. Show all posts

Saturday, August 22, 2020

anil

Easy Process to Host website on AWS

 I found lots of professional struggle to host their website on Amazon Web Services (AWS) . So here I am going to explain the step by step process to host a website on AWS. using this process you can save your money too on AWS. You can host multiple small type of websites also using this process. 

Note:- This process is recommended for medium traffic website. if your website has large traffic then you should follow a different process using AWS load blancers.

Step by Step Process to Host Website on AWS:-

Step-1 :-

 Launch a ec2 instance first using ubuntu 16.04 AMI on AWS marketplace.(Also you have to download PEM file in the last step)


Step-2:-

 Ensure all ports like 80, 8080,8083,22,143 etc are enabled in your security croup.


Step-3:-

 Login using ssh command(sudo ssh -i /home/user/Downloads/aws_admin.pem ubuntu@52.66.129.45)

-> Sudo su


Step-4:-

Now you have to install vista panel to host a website on AWS. 

Install vista panel just click Install Vista Panel


Step 5:- 

After installation done. login to vista panel using your username and password.


Step 6:- 

Now go to web and create your hosting for specified domain.


Step 7:- 

You can either create ftp or copy your files in ec2 hosting directory /home/admin/web/your_domain/public_html for uploading your website files


Step 8:-

Create your database in DB section and upload your database by login to phpmyadmin.


Step 9:-

Now change your database crdentials in your config file.


Step 10:-

Do not forget to change ip address in your domain name service provider. It should be same as your ec2 instance public ip address.


Now just visit your website on browser and enjoy. if  you found any type of difficulty, you can simply comment here. I will try to resolve your issue. Thank you.


**** if website still showing deafult page. then just remove index.html from the specified directory.****

Read More
anil

How to Setup Vista Panel on AWS.

 You can follow below step by step process to setup vista panel aws EC2 instance.


Install Vista Panel

Step 1:-

First you have to login into your EC2 instance on terminal using below command.

sudo ssh -i /home/user/Downloads/aws_admin.pem ubuntu@52.66.129.45

Note:- make sure you have given a right path of PEM file to access ec2 instance.


Step 2:-

Now just run below command one by one.

-> apt-get update -y

-> apt-get upgrade -y

-> nano /etc/hosts

-> 127.0.0.1            vestacp.linuxbuz.com

-> wget http://vestacp.com/pub/vst-install.sh

-> chmod 755 vst-install.sh

-> bash vst-install.sh / bash vst-install.sh --force


Step 3:-

-> Type y and ENTER to continue:

-> Please enter admin email address: admin@linuxbuz.com

-> Please enter FQDN hostname [vestacp.linuxbuz.com]: 

-> Installation backup directory: /root/vst_install_backups/1564552012


Your installation has been done. Now just visit vista panel on browse and start to host your website on AWS. 


If you found any type of difficulty just intimate me using comment. I will try to resolve your issue. Thank you.


Read More

Monday, May 4, 2020

phpMyPassion

How to Install VestaCP on Ubuntu 18.04 LTS

VestaCP gives you a user interface to host your website more efficiently and makes your work so easy. Below are the commands to install VestaCP..




->apt-get update -y

-> apt-get upgrade -y

-> nano /etc/hosts

-> 127.0.0.1    vestacp.phpmypassion.com

-> wget http://vestacp.com/pub/vst-install.sh

-> chmod 755 vst-install.sh

-> bash vst-install.sh / bash vst-install.sh --force

Type y and ENTER to continue:

Please enter admin email address: admin@linuxbuz.com

Please enter FQDN hostname [vestacp.linuxbuz.com]: 


Installation backup directory: /root/vst_install_backups/1564552012

If you found any type of difficulty for installing VestaCP in ec2 instance, you can intimate me by your comment. I will try to resolve your issue.
Thank you.
Read More