[ale] Doing Something Dumb with Nginx
Jonathan Meek
jonathan.l.meek at gmail.com
Mon Jan 8 19:49:28 EST 2018
Sure no problem, Here it is (I changed out the IP address with xxx):
server {
listen 80;
server_name xxx.xxx.xxx.xx;
location / {
root /var/www/wangsmassage;
index index.html;
}
}
server {
listen 80;
server_name www.kennesawmassage.services;
location / {
root /var/www/wangsmassage;
index index.html;
}
}
I tried to do server_name xxx.xxx.xxx.xx www.kennesawmassage.services but
that didn't work.
Jonathan
On Sun, Jan 7, 2018 at 11:16 PM, Kyle Brieden <kyle at txmoose.com> wrote:
> Hey Jonathan,
>
> Would you be able to share the server block of the vhost? That would help
> us diagnose the issue.
>
>
>
> ---
> Very respectfully,
> Kyle Brieden
>
>
> On 07-01-2018 21:51, Jonathan Meek via Ale wrote:
>
>> Hello folks,
>>
>> I am running into an odd issue setting up Nginx on a Ubuntu 16.04 box.
>> I cannot seem to get the domain names to render. If I navigate to the
>> IP address, the site appears no problem but when I navigate to the
>> domain name, it just renders the nginx welcome page.
>>
>> I have tried adding the domain name to the server_name parameter to my
>> /etc/nginx/conf.d/virtual.conf and reloading nginx but that didn't
>> work.
>>
>> As a side note, I did add the nameservers to domain early this
>> evening, not sure if makes a difference. I did create the A, AAAA, &
>> NS records as well.
>>
>> I feel like I am doing something dumb but can't put my finger on it so
>> any pointers in the right direction would be appreciated.
>>
>> Jonathan
>> _______________________________________________
>> Ale mailing list
>> Ale at ale.org
>> http://mail.ale.org/mailman/listinfo/ale
>> See JOBS, ANNOUNCE and SCHOOLS lists at
>> http://mail.ale.org/mailman/listinfo
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ale.org/pipermail/ale/attachments/20180108/a455abef/attachment.html>
More information about the Ale
mailing list