template 1 template 2 template 3

Browse by Category

There is no category under Webmin

How do I add a website to Apache with webmin?

icon

Published: 03/05/2010 by admin

Categories: Webmin

Tags:

This procedure is for a virtual server on a shared IP address

  1. Login to Webmin -> Servers category -> Apache Webserver
  2. Locate the box "Create a New Virtual Server"
  3. Fill out the following:
    1. Handle connections to address: Specific address... (enter your server's IP address here)
    2. Document root: /home/websites/domainname.com
    3. Server name: www.domainname.com
  4. Click "Create Now"
  5. The page will re-load. Click on the new Apache entry for your virtual domain
  6. Click on "Networking and Addresses":
  7. Alternate virtual server names: domainname.com
  8. Click "Save"
  9. Click "CGI Programs":
  10. CGI directory aliases: From: /cgi-bin/ To: /home/websites/domainname.com/cgi-bin/
  11. Click "Save"
  12. Enter Per-Directory Options for /home/websites/domainname.com
  13. Click "Document Options"
  14. Server-side includes: Yes Options file can override: Selected below... (all boxes should be checked)
  15. Click "Save"
  16. Click "Return to server index"
  17. Create Per-Directory, Files or Location Options for: /home/websites/domainname.com/cgi-bin
  18. Enter Per-Directory Options for /home/websites/domainname.com/cgi-bin
  19. Click "Document Options"
  20. Directory options: selected below...
    1. Execute CGI programs: Yes
    2. Options file can override: selected below... (all boxes should be checked)
  21. Click "Save"
  22. Click "Apply Changes"
  23. Go to Others category -> File Manager
  24. Browse to /home/websites/domainname.com
  25. Create new folder: cgi-bin
  26. Browse to /home/websites
  27. Highlight "domainname.com", click "Info"
  28. Apply changes to: this directory and all sub-directories
  29. Click "OK".