Hosting a website on Amazon Web Services (AWS) can be challenging for many professionals. This step-by-step guide simplifies the process, helping you save costs and host multiple small websites efficiently. Note: This process is suitable for medium-traffic websites. For high-traffic sites, consider using AWS load balancers. Step-by-Step Process to Host a Website on AWS Launch an EC2 Instance: Start by launching an EC2 instance using the Ubuntu 16.04 AMI from the AWS Marketplace. Download the PEM file during the final step of the instance setup. Configure Security Group: Ensure ports…
Year: 2020
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…
How to Send an Email Using PHPMailer ?
Image Source:- Google Images Many of developers struggle to integrate send mail functionality in a website. So I thought why do we make the easy process for sending mail functionality by post. Here I comes with a simplified process for sending an email using PHPMailer. I integrated this many of websites developed by me using PHP. I have created my own…
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…
Process to Create AWS Lambda Function in Python
In this article I am sharing the full and easy process of creating a AWS lambda function using python. So follow step by step process for creating AWS lambda using python 3. ********************** process to create lambda function ***************** > fill basic information like name, runtime envoironment, permission
How to Copy files from host to Docker container?
Most common problem “Copying files from host to Docker container” that usually developers face. So here I am providing you a simple command that would be copy a file from host to docker container.To copy a file into your docker container you have to follow below 3 points. first, copy the path of localhost where your file stored. ** in my case its stored on /home/anil/Desktop/database/database.sql ** second you have to set a path into your docker container where you want to store your file. ** in my case I created a…
Python map() function
Map() function :- map() function in python used to perform operations on a given number of iterable sequence like list, set, tuple etc. map() function takes a function as an one argument and a iterable sequence as a second argument. map(func, iter) func:- This is a function on which map function passes each element of given iterator. iter:- This is a iterable sequence like lists, sets, tuples etc. map() function returns a map object. so you have to change the type of result to list or tuple as per your requirement.…
How to Transfer a Domain into Another Godaddy Account?
Step 1. Login into your godaddy account. First of all you have to login into your godaddy account from which you booked that domain (xyz.com) Step 2. Now go to your all products & services page. You have to just click on the manage button shown in above right side of screenshot. Step 3. Go to your DNS management page. Here you have to click on transfer domain link shown in red circle.
