Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 13th March 2009, 16:48
ignasigarcia ignasigarcia is offline
Member
 
Join Date: May 2006
Posts: 39
Thanks: 5
Thanked 1 Time in 1 Post
Default subdomains in ispconfig3

Hi, I'm trying to understand how subdomains work in ispconfig3. I come from other isp manager where subdomains are treated as ispconfig3's domain (you create one subdomain by typing its URL, the system assigns you a folder to place the web site, and you upload it). So, can anybody help me understand how ispconfig3 works here?

Let's say I want to create a blog.mydomain.com, which is different from www.mydomain.com. So I have created a domain and set in Auto-Subdomain the value www

No I create a subdomain. However, I do not know what values I should set for Domain, Redirect Type (btw, can someone explain what those values mean?), Redirect Path

Thanks very much in advance

Ignacio
Reply With Quote
Sponsored Links
  #2  
Old 13th March 2009, 17:31
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,457
Thanks: 813
Thanked 5,224 Times in 4,094 Posts
Default

A subdomain is a alis which points to the same website then the website of the domain. so if you add a subdomain blog.mydomqin.com to the website mydomain.com then blog.mydomain.com pints to the same website folder.

If blog.mydomain.com shall have its own vhost, the simply add a new domain blog.mydomain.com.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 14th March 2009, 18:39
atjensen11 atjensen11 is offline
Senior Member
 
Join Date: Dec 2007
Posts: 199
Thanks: 9
Thanked 6 Times in 6 Posts
Default

I was going to ask a similar question as the original poster as I was struggling with understanding how the subdomain concept works as well.

Like the original poster, I thought the subdomain feature would allow for provisioning different hosts (www, blog, webmail, etc.) in front of a client's domain.

According to Till's response, the subdomain feature creates an Alias domain. If that is true, how is this different than the Alias Domain feature within ISPConfig3? Wouldn't these be duplicates? The input fields are slightly different between the two, but it sounds as though they do the same thing.

Can one of the developers give a scenario of why and when a user would use these two features?

Thanks.
Reply With Quote
  #4  
Old 15th March 2009, 00:01
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,457
Thanks: 813
Thanked 5,224 Times in 4,094 Posts
Default

Quote:
Can one of the developers give a scenario of why and when a user would use these two features?
Many hosting providers separate subdomains and other domains in their hosting offers so we have to functions for this to be able to limit them separateley as for a subdomain no additional fees for the registry apply while you will have to register a domain at the registry when it is not a subdomain.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 16th March 2009, 10:43
ignasigarcia ignasigarcia is offline
Member
 
Join Date: May 2006
Posts: 39
Thanks: 5
Thanked 1 Time in 1 Post
Default

ok. I understand that now. However, I've been looking through the forum and documentation on the parameters for Redirection Type and Redirection Path. Could you explain them?

TIA

Ignacio
Reply With Quote
  #6  
Old 29th March 2009, 12:23
LightVision LightVision is offline
Junior Member
 
Join Date: Mar 2009
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to LightVision
Default

For me, a subdomain is exactly what the word subdomain means: a sub-domain of the domain; and for that subdomain there must be a way to setup a document root in the document-root of the main domain (as a subfolder).

As long as you treat subdomains in that way you do there is no guarantee that another user couldn't register a sobdomain of my domain.

Bad approach plus a waste of resources. Maybe for that subdomain i wouldn't another user to administrate or another e-mail address. Maybe I want to mix the same data for the domain and subdomain in one SINGLE database - with only one root-user and only one password.

What you call subdomain is in fact an alias for redirection and that i could do myself through .htaccess

And, by the way, if you ever change the approach of subdomain, you should inplement as the father's pannel do (you know what i meant)

And because the way you implement the subdomains i couldn't use htaccess to implement it in the correct way.
Tryed in both 2 and 3.

Sory, I am dissapointed but for the moment i have no other options than ispconfig. and i'll choose 2 because interface is esier than 3 (anyway, 3 looks better)
Sorry again.
Reply With Quote
  #7  
Old 1st April 2009, 12:09
Horfic Horfic is offline
Senior Member
 
Join Date: Mar 2009
Location: Austria
Posts: 324
Thanks: 55
Thanked 93 Times in 58 Posts
Send a message via Skype™ to Horfic
Thumbs up

I'm totaly agreeing with LightVision. The subdomain in ISPConfig 3 ist just a alias domain. I know some of the Hoster are doing that what till wrote, but not all. A lot of Hosters are also doing the way what LightVision described.

I would love to see that the ISPConfig Team could also implement this way, because I think its nice to have on main DocumentRoot and in that separate ones for subdomains. So you can access all files with one FTP-ACC.

PS: I'm using at the moment for my Webserver Plesk, and this feature is the major one I use. But I will change to ISPConfig as soon as I have time to make the necessary arrangements for the Transfer.

PPS: PLESK SUCKS ISPCONFIG RULES!
__________________
web wack creations - We create your custom web application
Mailuser interface for ISPConfig 3
Reply With Quote
  #8  
Old 1st April 2009, 12:11
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,457
Thanks: 813
Thanked 5,224 Times in 4,094 Posts
Default

Quote:
I would love to see that the ISPConfig Team could also implement this way, because I think its nice to have on main DocumentRoot and in that separate ones for subdomains. So you can access all files with one FTP-ACC.
Just click on new domain and enter in the domain field: sub.domain.com instead of just domain.com and you have a separate web root for your subdomain.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #9  
Old 1st April 2009, 12:13
Horfic Horfic is offline
Senior Member
 
Join Date: Mar 2009
Location: Austria
Posts: 324
Thanks: 55
Thanked 93 Times in 58 Posts
Send a message via Skype™ to Horfic
Default

Quote:
Originally Posted by till View Post
Just click on new domain and enter in the domain field: sub.domain.com instead of just domain.com and you have a separate web root for your subdomain.
Yes but not in the main DocumentRoot of my Domain!
__________________
web wack creations - We create your custom web application
Mailuser interface for ISPConfig 3
Reply With Quote
  #10  
Old 1st April 2009, 12:17
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,457
Thanks: 813
Thanked 5,224 Times in 4,094 Posts
 
Default

If you want to have the subdirectory in the same directory then use the subdomain feature of ispconfig plus a rewrite rule to redirect to the subdirectory. thats what the rewrite rukes are for. Simply add a rewrite rule that rewrites to a folder instead of a URL and that does not change the URL in the browser.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.

Last edited by till; 1st April 2009 at 12:26.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
Horfic (1st April 2009)
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
ispconfig3: recommendations? ignasigarcia Installation/Configuration 2 25th February 2009 14:45
SVN + Trac module for ISPConfig3 quentusrex Developers' Forum 13 15th November 2008 23:39
SSL for multiple subdomains chillifire Installation/Configuration 12 16th April 2008 11:01
customer's subdomains t-mug Installation/Configuration 5 16th August 2007 14:22
domains, subdomains, webspace, bandwidth.. TheRudy General 17 19th February 2007 18:31


All times are GMT +2. The time now is 20:07.


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