Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Tips/Tricks/Mods

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 27th May 2014, 02:27
RedBeard RedBeard is offline
Junior Member
Join Date: Feb 2012
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default nginx rewrite on ISPConfig3

I'm trying to find the best way to make the "www.mydomain.com" rewrite to "mydomain.com" using ISPConfig under nginx.

I can do it setting Sites/Domain/Auto-subdomain to NONE and adding a new subdomain with Host 'www' redirecting to http://mydomain.com.

Is this the best (or only) way?

The goal is to have only one address to improve SEO score.

Best Regards from Brazil (sorry my poor english)

Reply With Quote
Sponsored Links
Old 27th May 2014, 07:25
till till is online now
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,687
Thanks: 819
Thanked 5,318 Times in 4,171 Posts

Why dont you use the rewrite option that exists for that purpose on the rewrite tab of the website?
Till Brehm
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Old 27th May 2014, 15:33
RedBeard RedBeard is offline
Junior Member
Join Date: Feb 2012
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts

Oops... my fault. (I knew there was a easy way to do this... )
I was thinking that Rewrite tab was used only to move a entire website to a new location.
I will try that now.
Thank you for the reply and for the amazing software.
Reply With Quote


ispconfig 3, nginx, rewrite, seo

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Migration from ISPConfig3 Apache to ISPConfig3 nginx? zenny Installation/Configuration 3 3rd December 2013 20:24
Please help convert htaccess to nginx ababneh HOWTO-Related Questions 6 5th April 2013 00:19
permission issues with ISPConfig3, nginx and cakephp ItsDom Installation/Configuration 2 30th December 2012 13:18
How setup nginx as frontend to apache with full support for nginx ISPConfig3? beliashou Installation/Configuration 8 30th November 2011 12:14
amavis rejects all inbound emails aclhkaclhk Installation/Configuration 5 28th February 2010 04:24

All times are GMT +2. The time now is 10:56.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.