Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

kquinn3

🏠
Working from home
  • Greensboro, NC
View GitHub Profile
@kquinn3
kquinn3 / nginx-create-additional-domain.md
Last active Feb 8, 2021
nginx adding additional domains to the same container
View nginx-create-additional-domain.md

Adding Additional domains to the same container in nginx

  1. Refer to these instructions for setting up the first domain.

  2. Go to the path where the original nginx file configuration resides cd /etc/nginx/sites-available

  3. Copy the existing configuration file to a new file in the same directory. In my example it is called kquinn.info. I like to call it the same name as the domain name, but I don't know if it's necessary. This is my file.