[ale] Doing Something Dumb with Nginx

Jonathan Meek jonathan.l.meek at gmail.com
Mon Jan 8 20:42:42 EST 2018


Hey Chuck,

Thanks for the suggestion but it did not work for me. the domain name still
routes to the nginx welcome page instead of the site.

On Mon, Jan 8, 2018 at 8:21 PM, Chuck Payne <terrorpup at gmail.com> wrote:

> Jonathan,
>
> Try checking listen 80 to
>
> listen xxx.xxx.xxx.xxx 80;
>
> Give that a shot.
>
> Chuck
>
> On Mon, Jan 8, 2018 at 7:49 PM, Jonathan Meek via Ale <ale at ale.org> wrote:
>
>> 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
>>>
>>>
>>
>> _______________________________________________
>> 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
>>
>>
>
>
> --
> Terror PUP a.k.a
> Chuck "PUP" Payne
> -----------------------------------------
> Discover it! Enjoy it! Share it! openSUSE Linux.
> -----------------------------------------
> openSUSE -- Terrorpup
> openSUSE Ambassador/openSUSE Member
> skype,twiiter,identica,friendfeed -- terrorpup
> freenode(irc) --terrorpup/lupinstein
> Register Linux Userid: 155363
>
> Have you tried SUSE Studio? Need to create a Live CD,  an app you want to
> package and distribute , or create your own linux distro. Give SUSE Studio
> a try.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ale.org/pipermail/ale/attachments/20180108/d39c8823/attachment.html>


More information about the Ale mailing list