Content has been updated elsewhere, would you like to reload?

*** Warning: If you do not reload, you may be editing obsolete contents. This may cause you to lose recent changes.

Yes, reload    |    No, keep this older content
Overview
  • Step One — Create the Directory Structure
    Step Two — Grant Permissions
    Step Three — Create Demo Pages for Each Virtual Host
    Step Four — Create New Virtual Host Files
    Step Five — Enable the New Virtual Host Files
    Step Six — Set Up Local Hosts File (Optional)

    ---

    These should better be in /var/www/html?

    • sudo mkdir -p /var/www/example.com/public_html
    • sudo mkdir -p /var/www/test.com/public_html

    In Step 6 (optional): "Make sure you are operating on your local computer for these steps and not your VPS server."

  • 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 d
  • Articlehttps://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-ubuntu-16-04
Bookmark details
      
Tags for this bookmark
_dish 
 For Readish.com
  >>