Difference between revisions of "Adding a New Domain or Subdomain"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
=== About === | === About === | ||
Generally speaking, adding a new (website/domain/server block) is very easy in Nginx. A common misconception throughout 24PinTech is that creating a server block is difficult, to try to curb the fear, I will go over adding a new website to our specific server setup. | Generally speaking, adding a new (website/domain/server block) is very easy in [[Nginx]]. A common misconception throughout 24PinTech is that creating a server block is difficult, to try to curb the fear, I will go over adding a new website to our specific server setup. | ||
==== What you need to start ==== | ==== What you need to start ==== | ||
* | * Access to a working [[Nginx]] Webserver | ||
* A domain with a working A record pointing to our public IP address. | * A domain with a working A record pointing to our public IP address. | ||
*[[HTTPS with Certbot (LetsEncrypt)|Certbot (LetsEncrypt)]] | |||
=== Procedure === | |||
==== Log in to the Nginx Webserver ==== | |||
To begin your process of adding a server block to [[Nginx]] navigate to your favorite web browser and type in the address bar, "''10.21.25.2"''. This will take you to our Valhalla [[ESXi|ESXi box]], this is our [[ESXi|ESXi box]] that hosts all of our production VMs, which is also where devloganweb lives (our Webserver). If you are an administrator on our domain you may log in with your account for the in-class computers, otherwise see a server manager or [[Bradley Chamberlain]] for root account access. | |||
== New Sub-Domain in Nginx == |
Revision as of 17:31, 26 April 2022
New Domains in Nginx
About
Generally speaking, adding a new (website/domain/server block) is very easy in Nginx. A common misconception throughout 24PinTech is that creating a server block is difficult, to try to curb the fear, I will go over adding a new website to our specific server setup.
What you need to start
- Access to a working Nginx Webserver
- A domain with a working A record pointing to our public IP address.
- Certbot (LetsEncrypt)
Procedure
Log in to the Nginx Webserver
To begin your process of adding a server block to Nginx navigate to your favorite web browser and type in the address bar, "10.21.25.2". This will take you to our Valhalla ESXi box, this is our ESXi box that hosts all of our production VMs, which is also where devloganweb lives (our Webserver). If you are an administrator on our domain you may log in with your account for the in-class computers, otherwise see a server manager or Bradley Chamberlain for root account access.