Discussion:
[ale] Doing Something Dumb with Nginx
Jonathan Meek via Ale
2018-01-08 02:51:55 UTC
Permalink
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
Kyle Brieden via Ale
2018-01-08 04:16:59 UTC
Permalink
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
Post by Jonathan Meek via Ale
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
http://mail.ale.org/mailman/listinfo/ale
See JOBS, ANNOUNCE and SCHOOLS lists at
http://mail.ale.org/mailman/listinfo
Jonathan Meek via Ale
2018-01-09 00:49:28 UTC
Permalink
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
Post by Kyle Brieden via Ale
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
Post by Jonathan Meek via Ale
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
http://mail.ale.org/mailman/listinfo/ale
See JOBS, ANNOUNCE and SCHOOLS lists at
http://mail.ale.org/mailman/listinfo
Chuck Payne via Ale
2018-01-09 01:21:30 UTC
Permalink
Jonathan,

Try checking listen 80 to

listen xxx.xxx.xxx.xxx 80;

Give that a shot.

Chuck
Post by Jonathan Meek via Ale
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
Post by Kyle Brieden via Ale
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
Post by Jonathan Meek via Ale
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
http://mail.ale.org/mailman/listinfo/ale
See JOBS, ANNOUNCE and SCHOOLS lists at
http://mail.ale.org/mailman/listinfo
_______________________________________________
Ale mailing list
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.
Jonathan Meek via Ale
2018-01-09 01:42:42 UTC
Permalink
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.
Post by Kyle Brieden via Ale
Jonathan,
Try checking listen 80 to
listen xxx.xxx.xxx.xxx 80;
Give that a shot.
Chuck
Post by Jonathan Meek via Ale
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
Post by Kyle Brieden via Ale
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
Post by Jonathan Meek via Ale
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
http://mail.ale.org/mailman/listinfo/ale
See JOBS, ANNOUNCE and SCHOOLS lists at
http://mail.ale.org/mailman/listinfo
_______________________________________________
Ale mailing list
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.
Chuck Payne via Ale
2018-01-09 01:50:44 UTC
Permalink
Jonathan,

What is under your conf.d folder? Here what I have, I run nginx on Debian,
so I have to make sure my site are under sites-enabled. On
RHEL/CENTOS/openSUSE I have to have my sites under conf.d. I hope that
helps.

Debian

include /etc/nginx/conf.d/*.conf;

include /etc/nginx/sites-enabled/*;

├── *conf.d*

├── *sites-available*

│ ├── cloud.conf

│ ├── default

│ ├── default.dpkg-old

│ ├── inferno.conf

│ └── softmeta.conf

├── *sites-enabled*

│ ├── *cloud.conf* -> /etc/nginx/sites-available/cloud.conf

│ ├── *inferno.conf* -> /etc/nginx/sites-available/inferno.conf

│ └── *softmeta.conf* -> /etc/nginx/sites-available/softmeta.conf



RHEL/CentOS/openSUSE


In my nginx.conf


include conf.d/*.conf;



├── *conf.d*

│ ├── graylog.conf

│ ├── mon.conf

│ ├── monitoradmin.conf

│ ├── rundeck.conf

│ ├── sema.conf

│ ├── spacewalk.conf

│ └── tower.conf
Post by Jonathan Meek via Ale
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.
Post by Kyle Brieden via Ale
Jonathan,
Try checking listen 80 to
listen xxx.xxx.xxx.xxx 80;
Give that a shot.
Chuck
Post by Jonathan Meek via Ale
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
Post by Kyle Brieden via Ale
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
Post by Jonathan Meek via Ale
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
http://mail.ale.org/mailman/listinfo/ale
See JOBS, ANNOUNCE and SCHOOLS lists at
http://mail.ale.org/mailman/listinfo
_______________________________________________
Ale mailing list
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.
--
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.
DJ-Pfulio via Ale
2018-01-09 02:10:01 UTC
Permalink
I don't know if server_name can have an IP. I always use DNS names.
Also, do you have access_log and error_log settings?

Those are the only things you didn't post that I have in mine.
Post by Jonathan Meek via Ale
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
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
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 Meek via Ale
2018-01-09 02:53:52 UTC
Permalink
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.

Jonathan
Post by DJ-Pfulio via Ale
I don't know if server_name can have an IP. I always use DNS names.
Also, do you have access_log and error_log settings?
Those are the only things you didn't post that I have in mine.
Post by Jonathan Meek via Ale
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
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
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
Post by Jonathan Meek via Ale
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
Post by Jonathan Meek via Ale
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, &
Post by Jonathan Meek via Ale
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.
_______________________________________________
Ale mailing list
http://mail.ale.org/mailman/listinfo/ale
See JOBS, ANNOUNCE and SCHOOLS lists at
http://mail.ale.org/mailman/listinfo
Jeremy T. Bouse via Ale
2018-01-09 03:40:30 UTC
Permalink
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.

A single simple server block such as:

server {
    server_name www.kennesawmassage.services kennesawmassage.services
xx.xx.xx.xx;
    listen 80;

    location / {
        root /var/www/wangsmassage;
        index index.html;
    }
}

    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.

    You will need to have any hostname pointing to the IP address so I
would check that as well.

    My own nginx configuration is as follows:

server {
    server_name undergrid.net www.undergrid.net;
    listen 80;
    access_log off;
    server_tokens off;

    if ($scheme != "https") {
        return 301 https://$host$request_uri;
    }
}

server {
    server_name undergrid.net www.undergrid.net;
    listen 443 ssl;
    access_log off;
    server_tokens off;
    ssl_certificate /etc/letsencrypt/live/www.undergrid.net/fullchain.pem;
    ssl_certificate_key /etc/letsencrypt/live/www.undergrid.net/privkey.pem;
    ssl_trusted_certificate
/etc/letsencrypt/live/www.undergrid.net/chain.pem;
    ssl_session_timeout 1d;
    ssl_session_tickets off;
    ssl_prefer_server_ciphers on;
    ssl_protocols TLSv1.2;
    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';

    # HSTS (ngx_http_headers_module is required) (15768000 seconds = 6
months)
    add_header Strict-Transport-Security max-age=15768000;

    # OCSP Stapling ---
    ssl_stapling on;
    ssl_stapling_verify on;

    location / {
        proxy_pass http://webservers;
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
        proxy_set_header X-Forwarded-Port $server_port;
        proxy_pass_header Server;
        proxy_ignore_client_abort on;
        client_max_body_size 8m;
    }
}
Post by Jonathan Meek via Ale
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
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
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
http://mail.ale.org/mailman/listinfo/ale
<http://mail.ale.org/mailman/listinfo/ale>
See JOBS, ANNOUNCE and SCHOOLS lists at
http://mail.ale.org/mailman/listinfo
<http://mail.ale.org/mailman/listinfo>
_______________________________________________
Ale mailing list
http://mail.ale.org/mailman/listinfo/ale
See JOBS, ANNOUNCE and SCHOOLS lists at
http://mail.ale.org/mailman/listinfo
DJ-Pfulio via Ale
2018-01-08 05:14:40 UTC
Permalink
What's in the sites-enabled/ directory?
Is this a webapp or static files?
Post by Jonathan Meek via Ale
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.
_______________________________________________
Ale mailing list
***@ale.org
http://mail.ale.org/mailman/listinfo/ale
See JOBS, ANNOUNCE and SCHOOLS lists at
http://mail.ale.org/mailman/listinfo
Jonathan Meek via Ale
2018-01-09 00:52:21 UTC
Permalink
Only default is in sites-enabled/ directory and I have the default &
wangsbodymassage (the site I am setting up) in sites-available/ directory.
This is a set of static files generated from the hugo blogging platform

Jonathan
Post by DJ-Pfulio via Ale
What's in the sites-enabled/ directory?
Is this a webapp or static files?
Post by Jonathan Meek via Ale
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.
_______________________________________________
Ale mailing list
http://mail.ale.org/mailman/listinfo/ale
See JOBS, ANNOUNCE and SCHOOLS lists at
http://mail.ale.org/mailman/listinfo
Jeremy T. Bouse via Ale
2018-01-09 03:42:36 UTC
Permalink
You may have answered your own question here... If wangsbodymassage is
only under sites-available/ and not linked under sites-enabled/ then it
won't be active... should do an 'a2ensite wangsbodymassage'
Post by Jonathan Meek via Ale
Only default is in sites-enabled/ directory and I have the default &
wangsbodymassage (the site I am setting up) in sites-available/
directory. This is a set of static files generated from the hugo
blogging platform
Jonathan
What's in the sites-enabled/ directory?
Is this a webapp or static files?
Post by Jonathan Meek via Ale
Hello folks,
I am running into an odd issue setting up Nginx on a Ubuntu
16.04 box. I
Post by Jonathan Meek via Ale
cannot seem to get the domain names to render. If I navigate to
the IP
Post by Jonathan Meek via Ale
address, the site appears no problem but when I navigate to the
domain
Post by Jonathan Meek via Ale
name, it just renders the nginx welcome page.
I have tried adding the domain name to the server_name parameter
to my
Post by Jonathan Meek via Ale
/etc/nginx/conf.d/virtual.conf and reloading nginx but that
didn't work.
Post by Jonathan Meek via Ale
As a side note, I did add the nameservers to domain early this
evening,
Post by Jonathan Meek via Ale
not sure if makes a difference. I did create the A, AAAA, & NS
records
Post by Jonathan Meek via Ale
as well.
I feel like I am doing something dumb but can't put my finger on
it so
Post by Jonathan Meek via Ale
any pointers in the right direction would be appreciated.
_______________________________________________
Ale mailing list
http://mail.ale.org/mailman/listinfo/ale
<http://mail.ale.org/mailman/listinfo/ale>
See JOBS, ANNOUNCE and SCHOOLS lists at
http://mail.ale.org/mailman/listinfo
<http://mail.ale.org/mailman/listinfo>
_______________________________________________
Ale mailing list
http://mail.ale.org/mailman/listinfo/ale
See JOBS, ANNOUNCE and SCHOOLS lists at
http://mail.ale.org/mailman/listinfo
Dustin Priest via Ale
2018-01-09 03:49:12 UTC
Permalink
Whatever it is that you did appears to have worked, I can see your
content when I go to the URL.
Post by Jeremy T. Bouse via Ale
You may have answered your own question here... If wangsbodymassage is
only under sites-available/ and not linked under sites-enabled/ then
it won't be active... should do an 'a2ensite wangsbodymassage'
Post by Jonathan Meek via Ale
Only default is in sites-enabled/ directory and I have the default &
wangsbodymassage (the site I am setting up) in sites-available/
directory. This is a set of static files generated from the hugo
blogging platform
Jonathan
What's in the sites-enabled/ directory?
Is this a webapp or static files?
Post by Jonathan Meek via Ale
Hello folks,
I am running into an odd issue setting up Nginx on a Ubuntu
16.04 box. I
Post by Jonathan Meek via Ale
cannot seem to get the domain names to render. If I navigate to
the IP
Post by Jonathan Meek via Ale
address, the site appears no problem but when I navigate to the
domain
Post by Jonathan Meek via Ale
name, it just renders the nginx welcome page.
I have tried adding the domain name to the server_name
parameter to my
Post by Jonathan Meek via Ale
/etc/nginx/conf.d/virtual.conf and reloading nginx but that
didn't work.
Post by Jonathan Meek via Ale
As a side note, I did add the nameservers to domain early this
evening,
Post by Jonathan Meek via Ale
not sure if makes a difference. I did create the A, AAAA, & NS
records
Post by Jonathan Meek via Ale
as well.
I feel like I am doing something dumb but can't put my finger
on it so
Post by Jonathan Meek via Ale
any pointers in the right direction would be appreciated.
_______________________________________________
Ale mailing list
http://mail.ale.org/mailman/listinfo/ale
<http://mail.ale.org/mailman/listinfo/ale>
See JOBS, ANNOUNCE and SCHOOLS lists at
http://mail.ale.org/mailman/listinfo
<http://mail.ale.org/mailman/listinfo>
_______________________________________________
Ale mailing list
http://mail.ale.org/mailman/listinfo/ale
See JOBS, ANNOUNCE and SCHOOLS lists at
http://mail.ale.org/mailman/listinfo
_______________________________________________
Ale mailing list
http://mail.ale.org/mailman/listinfo/ale
See JOBS, ANNOUNCE and SCHOOLS lists at
http://mail.ale.org/mailman/listinfo
Jonathan Meek via Ale
2018-01-09 03:56:45 UTC
Permalink
I have temporarily dropped back to using the default and going to re-read
the server block nginx material. Good to know that it is in a working state
by someone outside my home network. Thanks
Whatever it is that you did appears to have worked, I can see your content
when I go to the URL.
You may have answered your own question here... If wangsbodymassage is
only under sites-available/ and not linked under sites-enabled/ then it
won't be active... should do an 'a2ensite wangsbodymassage'
Only default is in sites-enabled/ directory and I have the default &
wangsbodymassage (the site I am setting up) in sites-available/ directory.
This is a set of static files generated from the hugo blogging platform
Jonathan
Post by DJ-Pfulio via Ale
What's in the sites-enabled/ directory?
Is this a webapp or static files?
Post by Jonathan Meek via Ale
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.
_______________________________________________
Ale mailing list
http://mail.ale.org/mailman/listinfo/ale
See JOBS, ANNOUNCE and SCHOOLS lists at
http://mail.ale.org/mailman/listinfo
_______________________________________________
See JOBS, ANNOUNCE and SCHOOLS lists athttp://mail.ale.org/mailman/listinfo
_______________________________________________
See JOBS, ANNOUNCE and SCHOOLS lists athttp://mail.ale.org/mailman/listinfo
_______________________________________________
Ale mailing list
http://mail.ale.org/mailman/listinfo/ale
See JOBS, ANNOUNCE and SCHOOLS lists at
http://mail.ale.org/mailman/listinfo
Jonathan Meek via Ale
2018-01-14 17:53:14 UTC
Permalink
Hello everyone,

I figured out my issue which was three-fold:

- I failed to setup the domain name records for the second domain name
so this meant that the domain would not direct anywhere
- I had managed to really screw up on the virtual block setup, I had
some copy & paste that while passed the nginx parser didn't make any sense
upon closer inspection
- I was missing one of the sites in the sites-available/ directory as JD
had pointed out as something to do.

So thanks for all the help and next time I will read the manual more
carefully. I suffered from my usual issue of "Ready, Fire, Aim" when trying
to get something done quickly.

Regards,

Jonathan
Post by Jonathan Meek via Ale
I have temporarily dropped back to using the default and going to re-read
the server block nginx material. Good to know that it is in a working state
by someone outside my home network. Thanks
Post by Dustin Priest via Ale
Whatever it is that you did appears to have worked, I can see your
content when I go to the URL.
You may have answered your own question here... If wangsbodymassage is
only under sites-available/ and not linked under sites-enabled/ then it
won't be active... should do an 'a2ensite wangsbodymassage'
Only default is in sites-enabled/ directory and I have the default &
wangsbodymassage (the site I am setting up) in sites-available/ directory.
This is a set of static files generated from the hugo blogging platform
Jonathan
Post by DJ-Pfulio via Ale
What's in the sites-enabled/ directory?
Is this a webapp or static files?
Post by Jonathan Meek via Ale
Hello folks,
I am running into an odd issue setting up Nginx on a Ubuntu 16.04 box.
I
Post by Jonathan Meek via Ale
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.
Post by Jonathan Meek via Ale
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.
_______________________________________________
Ale mailing list
http://mail.ale.org/mailman/listinfo/ale
See JOBS, ANNOUNCE and SCHOOLS lists at
http://mail.ale.org/mailman/listinfo
_______________________________________________
See JOBS, ANNOUNCE and SCHOOLS lists athttp://mail.ale.org/mailman/listinfo
_______________________________________________
See JOBS, ANNOUNCE and SCHOOLS lists athttp://mail.ale.org/mailman/listinfo
_______________________________________________
Ale mailing list
http://mail.ale.org/mailman/listinfo/ale
See JOBS, ANNOUNCE and SCHOOLS lists at
http://mail.ale.org/mailman/listinfo
Continue reading on narkive:
Loading...