#1  
Old 1st August 2012, 14:03
EckyBrazz EckyBrazz is offline
Member
 
Join Date: Jul 2012
Location: Goiânia, Brazil
Posts: 37
Thanks: 3
Thanked 4 Times in 1 Post
Default NGinx and Subdomains rewrite.

Hi,

When using Cpanel and creating a subdomain (exp www3.domain.com)
it created a directory in /home/domanin/public_html/www3/

Now I copied over all content of this domain, created a subdomain in ISPconfig 3, created a DNS zone for it
Code:
A 	www3 	66.7.XXX.XX 	0
But got a little stuck on how to redirect is so that the /var/www/client.../www3 works like www3.domain.com

My server setup : Nginx on Ubuntu (followed the guide http://www.howtoforge.com/installing...untu-12.04-lts )
Reply With Quote
Sponsored Links
  #2  
Old 1st August 2012, 14:26
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,461
Thanks: 813
Thanked 5,240 Times in 4,108 Posts
Default

In ISPConfig this works a bit different as in cpanel, instaed of adding a subdomain record, which is a special kind of alias of a existing site and is used when a subdomain shall not have its own directory, you add a new website for the subdomain. Click on new website, enter www3.domain.com in the domain field and click on save. Thats also describd in the website section of the manual.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
EckyBrazz (1st August 2012)
  #3  
Old 1st August 2012, 15:03
EckyBrazz EckyBrazz is offline
Member
 
Join Date: Jul 2012
Location: Goiânia, Brazil
Posts: 37
Thanks: 3
Thanked 4 Times in 1 Post
 
Default

Manual of 333 pages. Sorry I missed that part.

Thanks again
Reply With Quote
Reply

Bookmarks

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
nginx + ISPConfig2 + subdomain sites = problem bzzik Server Operation 1 11th December 2010 15:23
nginx as proxy just for a subdomain rigo Server Operation 1 14th June 2010 14:28


All times are GMT +2. The time now is 18:15.


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