how to create a subdomain with ubuntu

May 6, 2018 402 views
Apache PHP Ubuntu

Hello, I'm using ubuntu in my VPS and wanted to create a subdomain, I use Webmin as a manager, is there any tutorial?

1 Answer

We do not provide a tutorial on configuring VirtualHosts (to handle subdomains) on Webmin but we do offer this guide which covers setting this up manually.

Webmin does include some details on using the VirtualHost configuration tools they provide in their documentation here.

by Brennen Bearnes
The Apache web server is the most popular way to serve web content on the internet. Apache has the ability to serve multiple domains from a single server by using a mechanism called "virtual hosts". If a virtual host is configured correctly for each domain, the web server can correctly route traffic to the appropriate files based on the domain name requested. In this guide, we'll demonstrate how to configure Apache virtual hosts on an Ubuntu 16.04 server.
Have another answer? Share your knowledge.