Hello;
I having having issues with a test server with nginx + varnish and wordpress…
i use this vhost https://github.com/A5hleyRich/wordpress-nginx
everything has been setup but when i change port 80 to 8080 on my website vhost it opens nginx vhost instead of the wordpress blog.
netstat -lntp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 1450/mysqld
tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 2920/nginx -g daemo
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 2920/nginx -g daemo
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1542/sshd
tcp 0 0 0.0.0.0:6081 0.0.0.0:* LISTEN 1941/varnishd
tcp 0 0 127.0.0.1:6082 0.0.0.0:* LISTEN 1941/varnishd
tcp6 0 0 :::80 :::* LISTEN 2920/nginx -g daemo
tcp6 0 0 :::22 :::* LISTEN 1542/sshd
tcp6 0 0 :::6081 :::* LISTEN 1941/varnishd
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!
In the wp-admin Settings area maybe try adding :8080 to the WordPress Address and Site Address fields, so both fields have something like: http://www.domainname.com:8080
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.