Adding Subdomains

Adding subdomains to marriner.com

Step 1: Create a physical site folder on web server

  1. Remote desktop into 146.20.81.4 (rackspace server)
  2. c:\sites
  3. create a new folder
  4. CONFIRM PERMISSIONS: right click > properties > security
  5. administration (special user group), users (special user group), IIS_IUSRS (access for IIS itself) SHOULD BE DEFAULT
  6. edit permissions -> allow full control, apply (confirm that they have the permissions. if unsure, check another site for consistency)
  7. go into IIS (IIS manager is latest version. use latest version) (6 won't have any sites in it)
  8. expand on left to sites
  9. right click add website
  10. title just for IIS internal value
  11. physical path -> point to the location in C:\sites
  12. for this server, always select the address ending in .4 (172.24.16.4)
  13. host name is the compete url, e.g. newness.marriner.com
  14. click OK
  15. Right Click on site > Edit Bindings > Add Site Binding for HTTPS > Type: HTTPS HostName: yoururl IP: same as http, Port: 443 SSL Cert: Appropriate cert (marriner wildcard for marriner subdomains)
  16. MAKE SURE SNI (server name indication) is checked on the certificate OR OTHER SITES WILL BREAK.

Step 2: Add FTP user and alias

  1. open filezilla ftp server
  2. connect
  3. go to users (one person icon)
  4. click mmc or create a user
  5. on left, pages, shared folders
  6. add a folder (the sites folder created earlier)
  7. check all boxes under files and directory
  8. add an alias (this will be the remote directory used for ftp/dreamweaver) to point to the actual sites folder on the C:\ drive
    *if it's a new site, don't call it dev so that when it goes live it doesn't have dev in the title

Step 3: Subdomain A record
*if site existed previously as dev, we don't have to do this.

  1. remote into 192.168.17.27 with windows login credentials
  2. start > DNS manager
  3. expand forward lookup zones
  4. right click marriner.com
  5. select new Host (a or aaaa)
  6. copy and paste from a similar site (e.g. the 146. sites)
  7. ip is ip
  8. top name is the subdomain part (e.g. newnesss for newness.marriner.com)
  9. don't need to check checkboxes, just click add host

Step 4: Allow external access (outside of the internal network)
*this last step will allow access outside the network, also don’t need to do this if the subdomain already exists

  1. register.com (passwords in passwords doc)
  2. dashboard > domains > manage
  3. com > manage
  4. scroll down to the advanced technical settings
  5. edit IP address records (a)
  6. add a new record
  7. continue
  8. continue/save again

Troubleshooting

Was this post helpful?

Last modified: Thursday, September 3, 2020 at 4:12 pm