<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    I don't recall if nginx will accept the IP as the server_name or
    not... Not knowing what all is under the conf.d that could be
    interacting with the config as well is limiting as well.<br>
    <br>
    A single simple server block such as:<br>
    <br>
    server { <br>
        server_name <a class="moz-txt-link-abbreviated" href="http://www.kennesawmassage.services">www.kennesawmassage.services</a>
    kennesawmassage.services xx.xx.xx.xx;<br>
        listen 80;<br>
    <br>
        location / {<br>
            root /var/www/wangsmassage;<br>
            index index.html;<br>
        }<br>
    }<br>
    <br>
        Should be sufficient... If you don't have any other virtual
    hosts on this nginx instance you could change the listen line to be
    "listen 80 default_server;" as well.<br>
    <br>
        You will need to have any hostname pointing to the IP address so
    I would check that as well.<br>
    <br>
        My own nginx configuration is as follows:<br>
    <br>
    server {<br>
        server_name undergrid.net <a class="moz-txt-link-abbreviated" href="http://www.undergrid.net">www.undergrid.net</a>;<br>
        listen 80;<br>
        access_log off;<br>
        server_tokens off;<br>
    <br>
        if ($scheme != "https") {<br>
            return 301 <a class="moz-txt-link-freetext" href="https://$host$request_uri">https://$host$request_uri</a>;<br>
        }<br>
    }<br>
    <br>
    server {<br>
        server_name undergrid.net <a class="moz-txt-link-abbreviated" href="http://www.undergrid.net">www.undergrid.net</a>;<br>
        listen 443 ssl;<br>
        access_log off;<br>
        server_tokens off;<br>
        ssl_certificate
    /etc/letsencrypt/live/www.undergrid.net/fullchain.pem;<br>
        ssl_certificate_key
    /etc/letsencrypt/live/www.undergrid.net/privkey.pem;<br>
        ssl_trusted_certificate
    /etc/letsencrypt/live/www.undergrid.net/chain.pem;<br>
        ssl_session_timeout 1d;<br>
        ssl_session_tickets off;<br>
        ssl_prefer_server_ciphers on;<br>
        ssl_protocols TLSv1.2;<br>
        ssl_ciphers
'ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256';<br>
    <br>
        # HSTS (ngx_http_headers_module is required) (15768000 seconds =
    6 months)<br>
        add_header Strict-Transport-Security max-age=15768000;<br>
    <br>
        # OCSP Stapling ---<br>
        ssl_stapling on;<br>
        ssl_stapling_verify on;<br>
    <br>
        location / {<br>
            proxy_pass <a class="moz-txt-link-freetext" href="http://webservers">http://webservers</a>;<br>
            proxy_set_header Host $host;<br>
            proxy_set_header X-Real-IP $remote_addr;<br>
            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;<br>
            proxy_set_header X-Forwarded-Proto $scheme;<br>
            proxy_set_header X-Forwarded-Port $server_port;<br>
            proxy_pass_header Server;<br>
            proxy_ignore_client_abort on;<br>
            client_max_body_size 8m;<br>
        }<br>
    }<br>
    <br>
    <div class="moz-cite-prefix">On 1/8/2018 7:49 PM, Jonathan Meek via
      Ale wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAC1vE+a=AyBmOxEMLg7919uW8_859mdHbtJC-LhUCpnpcCRwKA@mail.gmail.com">
      <div dir="ltr">
        <div>
          <div>Sure no problem, Here it is (I changed out the IP address
            with xxx): <br>
            server {<br>
                listen       80;<br>
                server_name  xxx.xxx.xxx.xx;<br>
                <br>
                location / {<br>
                    root   /var/www/wangsmassage;<br>
                    index  index.html;<br>
                }<br>
            }<br>
            <br>
            server {<br>
                listen       80;<br>
                server_name  <a class="moz-txt-link-abbreviated" href="http://www.kennesawmassage.services">www.kennesawmassage.services</a>;<br>
                <br>
                location / {<br>
                    root   /var/www/wangsmassage;<br>
                    index  index.html;<br>
                }<br>
            }<br>
            <br>
          </div>
          I tried to do server_name xxx.xxx.xxx.xx
          <a class="moz-txt-link-abbreviated" href="http://www.kennesawmassage.services">www.kennesawmassage.services</a> but that didn't work. <br>
          <br>
        </div>
        Jonathan <br>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Sun, Jan 7, 2018 at 11:16 PM, Kyle
          Brieden <span dir="ltr"><<a href="mailto:kyle@txmoose.com"
              target="_blank" moz-do-not-send="true">kyle@txmoose.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">Hey
            Jonathan,<br>
            <br>
            Would you be able to share the server block of the vhost? 
            That would help us diagnose the issue.<br>
            <br>
            <br>
            <br>
            ---<br>
            Very respectfully,<br>
            Kyle Brieden
            <div>
              <div class="h5"><br>
                <br>
                On 07-01-2018 21:51, Jonathan Meek via Ale wrote:<br>
              </div>
            </div>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div>
                <div class="h5">
                  Hello folks,<br>
                  <br>
                  I am running into an odd issue setting up Nginx on a
                  Ubuntu 16.04 box.<br>
                  I cannot seem to get the domain names to render. If I
                  navigate to the<br>
                  IP address, the site appears no problem but when I
                  navigate to the<br>
                  domain name, it just renders the nginx welcome page.<br>
                  <br>
                  I have tried adding the domain name to the server_name
                  parameter to my<br>
                  /etc/nginx/conf.d/virtual.conf and reloading nginx but
                  that didn't<br>
                  work.<br>
                  <br>
                  As a side note, I did add the nameservers to domain
                  early this<br>
                  evening, not sure if makes a difference. I did create
                  the A, AAAA, &<br>
                  NS records as well.<br>
                  <br>
                  I feel like I am doing something dumb but can't put my
                  finger on it so<br>
                  any pointers in the right direction would be
                  appreciated.<br>
                  <br>
                  Jonathan<br>
                </div>
              </div>
              ______________________________<wbr>_________________<br>
              Ale mailing list<br>
              <a href="mailto:Ale@ale.org" target="_blank"
                moz-do-not-send="true">Ale@ale.org</a><br>
              <a href="http://mail.ale.org/mailman/listinfo/ale"
                rel="noreferrer" target="_blank" moz-do-not-send="true">http://mail.ale.org/mailman/li<wbr>stinfo/ale</a><br>
              See JOBS, ANNOUNCE and SCHOOLS lists at<br>
              <a href="http://mail.ale.org/mailman/listinfo"
                rel="noreferrer" target="_blank" moz-do-not-send="true">http://mail.ale.org/mailman/li<wbr>stinfo</a></blockquote>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Ale mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Ale@ale.org">Ale@ale.org</a>
<a class="moz-txt-link-freetext" href="http://mail.ale.org/mailman/listinfo/ale">http://mail.ale.org/mailman/listinfo/ale</a>
See JOBS, ANNOUNCE and SCHOOLS lists at
<a class="moz-txt-link-freetext" href="http://mail.ale.org/mailman/listinfo">http://mail.ale.org/mailman/listinfo</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>