By alex426829
Hi folks,
New person here.
I recently directed a domain (domain.com) to my website, which I host using DigitalOcean running Ubuntu WordPress on 14.04. While I was building this site, I would access it by going to the IP address (let’s call it 123.456.78.90/), and then be prompted with a log-in (I would enter admin and then a password and get in fine).
Now when anyone visits domain.com, all they say is that request for the log-in credentials of the server admin. I need to make that go away so people can access my site without knowing this info. How do I do this?
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!
You can fully disable this prompt fairly easily. It is defined in a DirectoryMatch directive in /etc/apache2/apache2.conf (just look for the one with AuthType:Basic in it and delete the whole <DirectoryMatch> block). Once it has been removed, restart apache with:
service apache2 restart
You should no longer see the prompt.
This comment has been deleted
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.