I’ve been searching for a bit and cannot seem to find solution to my problem. I have 1 domains that is currently in use for my various dockers on unraid. I have another domain I want to use specifically to reach wordpress without a subdomain. I want www dot domain2 dot com to pull up wordpress. I have added the additional domain into extra_domains.
From what I have read, it seems like I need to create 2 server blocks in the default.conf file. For the existing server block, I added domain1 dot com to server_name. I copied that server block and changed the domain name to domain2 dot com. I also removed the default server tag for the second block. I can get to the swag default page by typing domain2.com. When I type www dot domain2 dot com, I get a can’t find this server. On the wordrpess proxy.conf file I have tried the domain with and without www.
I had to spell out the domain being a new user.
What is the proper way to do this?