All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Website not accessible by domain but IP
Hi,
So installed nginx on my VPS which created a test page. For DNS I am using afraid.org and on top of that cloudflare.com (free plan) i.e. my domain nameservers are set to CloudFlare name servers which in turn sends request to afraid.org where I have created A Record pointing to my VPS IP.
Up until two days ago my site was working fine from domain name for e.g. if you type www.testing.com then it would open the test nginx page.
But since yesterday it is not accessible by domain. CloudFlare shows that standard error page that the site is down but the site opens when I enter VPS IP in browser.
I logged into afraid.org and CloudFlare and they both say my domain is active and enabled.
I wonder what happened and how to diagnose this issue?
I don't remember doing anything to server except changing VPS name which I think shouldn't be a problem.
Thanks
Comments
Check your dns records for a start. https://intodns.com
Info from intodns.com looks ok to me except may be following:
DNS Parent sent Glue
Glue for NS records
SOA Serial
MX Records
WWW A Record
I will replace cloudflare nameservers with afraid.org nameservers and then see what happens.
How does Cloudflare send a request to Afraid?
I went to CloudFlare and created account. Then it asked me to enter domain so they can scan it. Once scanning was done they asked me to change nameservers of my domain to theirs which I did. Then after some hours I tested the domain in browser and it was working fine.
Before that I was using afraid.org nameservers as I had created A Record there.
You can't use two nameserver hosting at once, can you?
Could have still been cached (dns) and thats why it was still working.
Currently I am only using CloudFlare NSs but A Record is created at Afraid.
Probably. Because I was also wondering at first how CloudFlare is able to send request to afraid.org but I thought may be when they scanned the domain, they were able to read current nameservers which were ns1.afraid.org and ns2.afraid.org and then told me to change to theirs.
Here's how it all happened.
ufw
and then tried to open site again. This time I got error from CloudFlare that the server is down.So this is how I came to know that everything is working.
If you are using CloudFlare NS, A record created a Afraid won't work
Explain again, why are you using both of them at the same time?
What I did not see here is the CF DNS settings, did you do it??
What you tell is that you ran only the domain scan on CF.
Logged in to CF to find out that my IP in my A Records is set to my ISP IP. I have changed it to VPS IP and now it works.
wao
OT: sometimes in the past I stumbled upon a web doing this in nice graphical form. Unfortunately I lost the link... :-(