By layneheiny
I’m not able to get certain redirects to work, which worked when the sites were on a shared host.
This fails:
RewriteCond %{HTTP_HOST} ^community.tuxreportsnetwork.com [NC] RewriteRule ^(.*)$ http://www.tuxreports.com/$1 [L,R=301]
Entering community.tuxreportsnetwork.com gives zpanel…
What am I doing wrong on the setup of the droplet?
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!
Why use Apache, when WordPress best-practices recommend Nginx? <br> <br>If you <i>really</i> want to stick w/Apache, check out: <a href=“http://codex.wordpress.org/htaccess”>htaccess | WordPress Codex</a>.
Sorry, but I tried nginx months ago and the permalinks were completely messed up. <br> <br>I’m well aware of the .htaccess rules and as I stated this worked on a shared hosting but does not work on the DO droplet. Something is stopping the redirect. I see I asked this question another way in August too and wasn’t given any resolution.
It seems that zPanel is causing this, did you add community.tuxreportsnetwork.com to zPanel?
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.