hi
i purchesd new domain like vtuallinoneresources.com in nextraone hosting services .
then i replaced the servername space to ns1,2,3 digital ocean
i checked the “https://www.inmotionhosting.com/support/tools/visual-domain-routing?domain=vtuallinoneresources.com” where my new domain server point to old or new NS
its pointing to new digital ocean NS
5.in my :$ nano /etc/nginx/sites-available/hello i changed ip address to domain name
listen 80;
# add here the ip address of your server
# or a domain pointing to that ip (like example.com or www.example.com)
#server_name my ip address;
server_name vtuallinoneresources.com;
keepalive_timeout 5;
client_max_body_size 4G;
in django settings.py file added domain name in allowed host like this ALLOWED_HOSTS = [‘127.0.0.1’,‘localhost’,‘68.183.90.158’,‘vtuallinoneresources.com’]
but is not working now with domain name instead of ip address
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!
This comment has been deleted
Hey there! I am not exactly sure how you have configured nginx blocks but the first thing I have noticed is your Domain is not resolving to any IP. This is because you have added the domain on DigitalOcean account but haven’t added any A record and CNAME for the domain.
Please add an A record for vtuallinoneresources.com to 68.183.90.158 and a CNAME record for www.vtuallinoneresources.com Is AN alias of vtuallinoneresources.com
Keep me posted on how it goes after the DNS correction.
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.