By mike712366
I set up Apache on my VPS after I choosed to use Nginx. I changed the port for Nginx to 8000 but when I go to Nginx page http://95.85.39.84:8000/ I get just Apache welcome page. I shut down Apache so dont understand how can be there. when i go to http://95.85.39.84/ i got :
403 Forbidden nginx/1.6.2
thanks. mike
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!
I changed nginx default to: but still the same. at IP and qbfweb.com is the same index.html. really dont understand. when go to http://95.85.39.84:8000/ i get normal apache welcome site.
we have a lot of website on shared hosting and would like to move one by one all to digitalocean. Also I would like to have some localhost on my VPN. And also pushing from my localhost to VPN through capistrano and github. I bit confused if I am right.
server { listen 80;
root /var/www/qbfweb.com;
index index.php index.html index.htm;
server_name .qbfweb.com;
location / {
try_files $uri $uri/ /index.html;
}
error_page 404 /404.html;
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/www;
}
I have no idea how to make this work, but it’s my understanding that if you create a droplet with a WordPress on 14.04 Application, it installs Nginx as a front end to Apache, and it seems to run really, really fast. You might fire up an instance in a temporary droplet and check the config files to see if those don’t shed some light on the subject.
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.