By pete3zzat
Thank you.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Accepted Answer
Allright, I found your problem. Please post your webserver VHOST config. The webserver (nginx or apache) probably redirects the domain peter-ezzat.net to www.peter-ezzat.net. I can verify this once you posted the VHOST configuration.
Since you haven’t setup the www DNS setting, this will not resolve to your droplets IP. To fix this either setup an A record that resolves www or a global resolve 1:
www IN A 159.203.176.145
2:
* IN A 159.203.176.145
Once the DNS settings have been applied at your IPS, you will be able to use both peter-ezzat.net and www.peter-ezzat.net to resolve your webserver IP.
BTW: You can also setup an A record that resolves to your server IP. You can then use CNAME’s for all other DNS records that needs to be resolved to the server IP. This saves time, because you don’t have to use the IP all the time:
server1 IN A 159.203.176.145
www IN CNAME server1
You can use anything you like to resolve to your server.
Hope this helps you out!
I quote: Since you have the nameservers redirected to digitalocean you would need to configure it at DO
This means you need to configure the DNS at DIGITALOCEAN. Please post the DNS config of DO
Thank you very much, just in case, thats the new settings, right?! https://postimg.org/image/n65siusg7/
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.