Knowledgebase: Webmin
Create Website via Webmin

Kindly follow below steps to create website

  1. Login to webmin http://x.x.x.x:29815
    • Note that x.x.x.x stands for server IP address
  2. Then go to "Servers" -> "Apache Webserver"
  3. Click on Create virtual host
  4. Fill in below details
    • Specific address: x.x.x.x (server IP address)
    • UNCHECKED Add name virtual server address (if needed)
    • UNCHECKED Listen on address (if needed)
    • Port: Default
    • Document Root: /var/www/html/domain-com/public_html
    • Server Name: domain.com
  5. Click Create Now
  6. Go to "Global configuration" -> "Edit Config Files"
  7. Under /etc/httpd/conf/http.conf, please add in below lines
    • NameVirtualHost x.x.x.x (server IP address)
    • ServerAlias www.domain.com domain.com
  8. Click Save
  9. Back to "Apache Webserver" and Apply Changes to reload the Apache server.

Comments (0)