![]() Put the path of your website as the value, so in our case it’s “/var/www/sites/site1”Īt this stage we don’t need to configure the simultaneous operation of multiple websites, so we can disable the default website and enable the new site. Open the file “nf” and change the “DocumentRoot” attribute. In the result the file “/var/Let’s create a configuration file for a new virtual host taking the default configuration from the file “nf” as a basis. The default root directory for the website is “/var/Let’s create a separate directory “/var/www/sites” for virtual hosts and a subfolder “/var/www/sites/site1” with the index page of your test website. When the installation is finished, open a browser and check “ If you see a welcome page like this on the screenshot above, that means that your HTTP server is working. ![]() For example we used a virtual server with static IP address running Ubuntu Server 18.04. To start please order VPS server or dedicated server. We will also install vsftpd ftp server, phpMyAdmin - a web interface for database management, and a content management system Wordpress. ![]() Let’s consider setting up a very popular configuration Apache-PHP-MySQL(MariaDB) on Linux. ![]() To manage your website you will also need to set up a content management system (CMS), a web interface for database management, and FTP access. First things first, you need to understand that a typical web server consists of a few interacting components: In this article, we will give you step-by-step instructions on how to configure web environment on a server running Linux. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |