Ok so I have everything (I thought setup correctly) I have a droplet for my site. I also am using Putty to run everything (like Apache). I am using FileZilla for the obvious reasons. Now my issue is that when I start up the apache server it gives me this “Starting web server: apache2apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName httpd (pid 20412) already running”
So instead of the server running 67.207.80.114 (my droplets IP) its running 127.0.1.1. This may be a super simple fix and I am just overlooking something. Also if I go to my websites IP I get this “www.67.207.80.114’s server DNS address could not be found.”
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
@ghtv99
Your .htaccess
should only be this:
RewriteEngine on
RewriteRule ^(\w+)$ index.php?page=$1 [L,NC,QSA]
RewriteRule ^(\w+)+\/$ index.php?page=$1 [L,NC,QSA]
And you don’t have ServerName
defined within your VirtualHost
block. Don’t you have a domain?
This comment has been deleted
Your webserver works fine, you have some configuration that prefixes www. to the request.
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.