Skip to content

serhiiklenachov/apache-virtual-hosts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Apache-Virtual-Hosts

There are conf files for apache2 virtual hosts

  1. dev.local.conf - conf file for the simple website
  2. dev.local-ssl.conf - conf file for the website with ssl:
  • to create the cert:
    openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout mysitename.key -out mysitename.crt

To enable the host:
sudo a2ensite dev.local

Reload Apache2:
sudo service apache2 reload

About

There are conf files for apache2 virtual hosts

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published