<div dir="ltr"><div>Just tried using the DNS name alone, doing www.kennesawmassage.services kennesawmassage.services, in the virtual.conf file and reloaded nginx. It still redirected to nginx base page. The access_log and error_log settings are in the /etc/nginx/nginx.conf. I dropped back to using /var/www/html and using default for the night. It works as expected doing that. I assuming I am doing something wrong in my server blocks and give it another shot tomorrow evening. Thanks for the help everyone. I will have more updates tomorrow or day after. <br><br></div>Jonathan<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 8, 2018 at 9:10 PM, DJ-Pfulio via Ale <span dir="ltr"><<a href="mailto:ale@ale.org" target="_blank">ale@ale.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I don't know if server_name can have an IP. I always use DNS names.<br>
Also, do you have access_log and error_log settings?<br>
<br>
Those are the only things you didn't post that I have in mine.<br>
<span class="im HOEnZb"><br>
On 01/08/2018 07:49 PM, Jonathan Meek via Ale wrote:<br>
> 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 www.kennesawmassage.services;<br>
> <br>
> location / {<br>
> root /var/www/wangsmassage;<br>
> index index.html;<br>
> }<br>
> }<br>
><br>
> I tried to do server_name xxx.xxx.xxx.xx www.kennesawmassage.services<br>
> but that didn't work.<br>
><br>
> Jonathan<br>
><br>
> On Sun, Jan 7, 2018 at 11:16 PM, Kyle Brieden <<a href="mailto:kyle@txmoose.com">kyle@txmoose.com</a><br>
</span><div class="HOEnZb"><div class="h5">> <mailto:<a href="mailto:kyle@txmoose.com">kyle@txmoose.com</a>>> wrote:<br>
><br>
> Hey Jonathan,<br>
><br>
> Would you be able to share the server block of the vhost? That<br>
> would help us diagnose the issue.<br>
><br>
><br>
><br>
> ---<br>
> Very respectfully,<br>
> Kyle Brieden<br>
><br>
><br>
> On 07-01-2018 21:51, Jonathan Meek via Ale wrote:<br>
><br>
> Hello folks,<br>
><br>
> I am running into an odd issue setting up Nginx on a Ubuntu<br>
> 16.04 box.<br>
> I cannot seem to get the domain names to render. If I navigate<br>
> 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<br>
> 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<br>
> it so<br>
> any pointers in the right direction would be appreciated.<br>
><br>
</div></div><div class="HOEnZb"><div class="h5">______________________________<wbr>_________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" rel="noreferrer" target="_blank">http://mail.ale.org/mailman/<wbr>listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" rel="noreferrer" target="_blank">http://mail.ale.org/mailman/<wbr>listinfo</a><br>
</div></div></blockquote></div><br></div>