Question

I cant visit https://lukas713.com/ by domain, only via 188.166.24.56

I set name servers, A and CNAME record.I disabled default conf file and enabled lukas713.com.conf. In conf file I have:

ServerName lukas713.com ServerAlias www.lukas713.com ServerAdmin lukas.scharmitzer@gmail.com DocumentRoot “/var/www/html/lukas713.com/public”

I cant visit site via domain, only by its ip adress. Where is the problem?!


Submit an answer

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!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

I think a little more information is needed. Did you just create a dns record here or did you set the dns Information where you purchased the domain. For example, if you bought the domain at domains.google.com the dns records there need to point to your digital ocean droplet either by changing the nameservers so you have full access to the dns records here or by pointing the a record to your droplets IP. Also the ttl on those records makes a difference because a dns change takes time to propogate. If you set the ttl to 60 seconds theoretically your dns can update quickly but it also depends on ISPs and such. It looks like it’s resolving for me now are you still having the issue. If so try loading in incognito mode if that works clear your cache.