Setting up new nginx server, issues with my websites

General support questions
rroopstr
Posts: 11
Joined: 2016/04/28 20:05:55

Setting up new nginx server, issues with my websites

Post by rroopstr » 2016/05/10 11:48:58

Hi I configured nginx and when I write my ip address on the browser i get
Welcome to nginx!

If you see this page, the nginx web server is successfully installed and working. Further configuration is required.

For online documentation and support please refer to nginx.org.
Commercial support is available at nginx.com.

Thank you for using nginx.


Then I tried to post my websites as transferred from my previous webhosting service, using this tutorial https://www.digitalocean.com/community/ ... n-centos-7
been very careful with folders names and sudo vim commands, everything seems fine, however when typing my domains on a web browser i get DNS error:

ERR_NAME_NOT_RESOLVED

giulix63
Posts: 1305
Joined: 2014/05/14 10:06:37
Location: UK

Re: Setting up new nginx server, issues with my websites

Post by giulix63 » 2016/05/10 11:59:04

That has nothing to do with your nginx installation. In fact, it has nothing to do with you at all unless you run your own DNS. The resolution of your domain name should be taken care of by the DNSs of your domain name registrar.
Root is evil: Do not use root (sudo) to run any of the commands specified in my posts unless explicitly indicated. Please, provide the necessary amount of context to understand your problem/question.

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Re: Setting up new nginx server, issues with my websites

Post by gerald_clark » 2016/05/10 12:01:36

Go to your Domain Registrar's DNS maintenance page and enter you new IP address for your domain.

rroopstr
Posts: 11
Joined: 2016/04/28 20:05:55

Re: Setting up new nginx server, issues with my websites

Post by rroopstr » 2016/05/10 12:09:53

It has already been done. My old registrar already points to my new IP address provided by the new VPS provider. They provided me initially a VPS with CentOs 6.7 and Zpanel, where I succesfully uploaded all my websites. A week later I decided to remove ZPanel and install some new software, so I upgraded into Centos 7.2 and am in the process of configuring LEMP server.

giulix63
Posts: 1305
Joined: 2014/05/14 10:06:37
Location: UK

Re: Setting up new nginx server, issues with my websites

Post by giulix63 » 2016/05/10 12:11:54

When did you update your registrar's records?
Root is evil: Do not use root (sudo) to run any of the commands specified in my posts unless explicitly indicated. Please, provide the necessary amount of context to understand your problem/question.

rroopstr
Posts: 11
Joined: 2016/04/28 20:05:55

Re: Setting up new nginx server, issues with my websites

Post by rroopstr » 2016/05/10 12:31:33

I updated my registrar's records three weeks ago, as soon as I changed providers.

using intodns.com I get the following:

Parent Info Domain NS records Nameserver records returned by the parent servers are:

ns1.riverocooper.com. ['5.226.169.119'] [TTL=172800]
ns2.riverocooper.com. ['5.226.169.119'] [TTL=172800]

e.gtld-servers.net was kind enough to give us that information.

NS Info NS records from your nameservers NS records got from your nameservers listed at the parent NS are:
Oups! I could not get any nameservers from your nameservers (the ones listed at the parent server). Please verify that they are not lame nameservers and are configured properly.

Pass Recursive Queries Good. Your nameservers (the ones reported by the parent server) do not report that they allow recursive queries for anyone.
Pass Same Glue Hmm,I do not consider this to be an error yet, since I did not detect any nameservers at your nameservers.
Pass Glue for NS records OK. Your nameservers (the ones reported by the parent server) have no ideea who your nameservers are so this will be a pass since you already have a lot of errors!
Error Mismatched NS records WARNING: One or more of your nameservers did not return any of your NS records.

giulix63
Posts: 1305
Joined: 2014/05/14 10:06:37
Location: UK

Re: Setting up new nginx server, issues with my websites

Post by giulix63 » 2016/05/10 12:43:04

Solve those problems. I have never used that service, but this is what it returns in my case.
Root is evil: Do not use root (sudo) to run any of the commands specified in my posts unless explicitly indicated. Please, provide the necessary amount of context to understand your problem/question.

rroopstr
Posts: 11
Joined: 2016/04/28 20:05:55

Re: Setting up new nginx server, issues with my websites

Post by rroopstr » 2016/05/10 13:03:07

I no longer use cpanel or zpanel and wish to learn all necessary CentOs 7 commands that will enable me to generate A records and point my IP address.
According to http://www.server-world.info/en/note?os=CentOS_7&p=dns I should Install BIND.
[root@dlp ~]# yum -y install bind bind-utils
however I get a message that command doesn't exist.
Maybe I should make changes or type new info in [root@dlp ~]# vi /etc/named.conf

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Re: Setting up new nginx server, issues with my websites

Post by gerald_clark » 2016/05/10 13:05:22

Don't run your own name server. You do not have the need hardware and software qualifications.
Use you domain Registrar's name servers.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Setting up new nginx server, issues with my websites

Post by TrevorH » 2016/05/10 13:14:14

Also, if you don't have yum then you don't have a CentOS system.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply