How to create another host in already existing domain (not blank)?

Discussion in 'Installation/Configuration' started by tester321, Oct 22, 2009.

  1. tester321

    tester321 New Member

    Hello, using the "Drupal 5.6 with ISPConfig on Debian Etch" from this site (all versions are as indicated in that HowTo).

    Works great; various sites using it already.

    How can I create a 2nd, independent host in the same domain?


    1) The problem is that when you go through the ISPConfig process, it creates a "co-domain" to "domain.tld" for the first one ("www.domain.tld"). The 2nd site ("pictures.domain.tld") then seems to just forward visitors to "www.domain.tld"

    2) Also, (I know this is Drupal specific BUT it is based on the same HowToForge multisite setup using ISPConfig, so tell me if I have to make another post in a separate forum), in the HowToForge directions to setup the "Multisite Installation" Section 10.1, it has you create a directory name "domain.tld" (no hostname).
    mkdir /www/web1/web/sites/[B]multiexample.tld[/B]
    So now both sites seem to also share the settings.php, etc. Which is NOT what I want.

    In short, in this case, I would like both sites to be completely independent websites, though they exist in the same "domain.tld"

    Thank you in advance for any guidance and let me know if that explanation should be clarified further.
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Add a new website:

    hostname: pictures
    domain: domain.tld
  3. tester321

    tester321 New Member

    Till: Thanks for the quick response, but I have already done that. pictures.domain.tld is going to www.domain.tld. I made this post after trying this.

    (If necessary, I can pm the urls)
    Last edited: Oct 22, 2009
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Remove the co-domain and then add a new website (not co-domain) instead to get a independant site.
  5. tester321

    tester321 New Member

    Till, thanks. Still no luck.

    o I removed the "domain.tld" co-domain (no hostname; which was auto-created by ISPConfig when setting up "www.domain.tld").

    o I already had the new website ("pictures.domain.tld") created in ISPConfig (without the co-domain as well).

    pictures.domain.tld keeps sending me to www.domain.tld
    (both are Drupal sites using the HowToForge setup on the same IP; other independent sites already functioning successfully on the same server). Does the "mkdir /www/web1/web/sites/multiexample.tld" thing factor in at all? Since that was already created for "www.domain.tld" and can't be done for "pictures.domain.tld"?
    Last edited: Oct 22, 2009
  6. tester321

    tester321 New Member

    Any ideas on this one? Still no go.

    I still can't get this to work ...

    (This and the TLS multi SSL certificates via named-based hosting are my only 2 remaining "show stoppers")

    1) Drupal5 multisite+ISPConfig -> working perfectly based on HowToForge howto
    All sites using the same IP

    2) www.domain.tld -> responding fine, no problems

    3) I want to have pictures.domain.tld -> a completely separate Drupal site from www.domain.tld

    4) I have /var/www/pictures.domain.tld properly setup and the Drupal part prepared to setup the 1st account, etc.
    (I already have numerous www domains working this way)

    5) When I type in "pictures.domain.tld" it takes me to www.domain.tld

    6) I think it is falling down here:
    Since that usually just has "domain.tld" directories -- without the hostname
    But I already have one for the "www.domain.tld" site

    Any thoughts on this?

    Thanks in advance.

    PS: I am using DNS external to ISPConfig ... and I have numerous sites working this way without any issues; this is the first I have tried two with the same TLD
    Last edited: Nov 22, 2009

Share This Page