Hi, can I make 2 website in one hosting ? I have olready one website in my hosting and I want upload other website with different web adress, so I want 2 different website and one hosting, its possible ? I pay 15$ in month.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
2 answers

Hi @kakhaberikapanadze,

This is entirely possible! Depending on your WebService, either Nginx or Apache you’ll need to add a configuration for your domain. The good thing is DigitalOcean has articles for both however you’ll first need to find out which one you are using. To do so SSH in your droplet and type in the following command

netstat -tulpen | grep 80

If the output gives Nginx, then you’ll need to check the Nginx article here:

https://www.digitalocean.com/community/tutorials/how-to-set-up-nginx-server-blocks-virtual-hosts-on-ubuntu-16-04

If the output gives Apache as a result, then you’ll need to check the Apache article here:

https://www.digitalocean.com/community/tutorials/how-to-configure-the-apache-web-server-on-an-ubuntu-or-debian-vps

You’ll need to follow the respective article and configure your new domain on your droplet.

Regards,
KDSys

by Justin Ellingwood
The Apache web server is the most popular way to serve web content on the internet. The Apache provides a modular and scalable server that can satisfy the needs of large and small sites alike. In this guide, we will go over the main configuration files and some of the options you have when deploying your server.

I have done this in my hosting and its working properly.

Submit an Answer