Subdomain does not working?

Discussion in 'Installation/Configuration' started by Kozley, Jun 21, 2011.

  1. Kozley

    Kozley Member

    Hi

    I added subdomain using Subdomain for website without redirect but it does not works. What can I do this get subdomain to working? What I want to use subdomain like this: subdomain.domain.com.
     
  2. till

    till Super Moderator

    Make sure that you created a dns a-record for that subdomain.
     
  3. Kozley

    Kozley Member

    As u say but i have already created a dns record like this for 4 days ago:

    Code:
    A	forum 	81.170.155.71	0
    Any need I to add more to dns record?
     
  4. till

    till Super Moderator

    And what did you see when you enter the subdomain in the browser? We can not hel you that much wwhen you dont post any real domains.
     
  5. Kozley

    Kozley Member

    Ok, here is my domain: forum.quantum-guild.eu but it's still parked of swedish hosting Loopia on swedish language. It means that subdomain don't work.
     
  6. till

    till Super Moderator

    No, this means that the dns record does not work. The problem is not the subdomain in ispconfig.

    Please check that you added the dns A-Record in the correct server. It has to be the dns server that is authoritive for the zone. In your case most likely the dns server of the company Loopia and not your own dns server.
     
  7. Kozley

    Kozley Member

    Ah ok. I will add a dns record there. I'm back if it have any problem. Thanks you.
     
  8. Kozley

    Kozley Member

    Now it's works but I cannot go to forum and install phpbb. It show just joomla! as is in document root. What I did wrong? i have clear cache but it don't help
     
  9. till

    till Super Moderator

    A subdomain always poinst to the same directory then the main domain were it belongs to. If you want to have a separate directory, then delete the subdomain and create a new website where you enter "forum.yourdomain.tld" in the domain field. Thats described in the manual in detail.
     
  10. Kozley

    Kozley Member

    Thanks you so much! It works now.
     
  11. rvdvalk

    rvdvalk New Member

    If this is so, what is the use of the subdomain option?
    Maybe I'm doing things wrong, but I always used this option (not on ISPConfig) for creating webmail.mydomain.com

    If this is not what we should use it for, can you explain to me what we can do with the subdomain feature?
     
  12. mentes

    mentes New Member

    Whatever you want.

    In ISPConfig 3 you can have webmail.domain.com or another like mysql.domain.com and point to phpMyAdmin

    In my case I create a webmail.domain.com redirect to /var/lib/roundcube/

    Don't forget create A record for each subdomain
     
  13. rvdvalk

    rvdvalk New Member

    That's what I was thinking, but it didn't work for me.
    I used /var/web/webmail as redirect, but that didn't seem to be working.

    I'll try again.
     
  14. mentes

    mentes New Member

    Are you sure that this directory exists?
     
  15. rvdvalk

    rvdvalk New Member

    Typo, should be /var/www/webmail/
    But still not working.

    Try, http://webmail.compability.nl

    I noticed that I ad a wrong IP in my A record, this has been corrected now.
     
    Last edited: Aug 22, 2011
  16. mentes

    mentes New Member

  17. rvdvalk

    rvdvalk New Member

    Changed some permissions, now the error is gone but an empty page is displayed.

    Help:confused:

    Seems to be a safari error, firefox seems to be working. keep you posted.
     
    Last edited: Aug 22, 2011
  18. mentes

    mentes New Member

    Now I see RoundCube error page. It means your subdomain is right configured now. :) The same with Safari 5.1 and Firefox 6.0

    Code:
    CONFIGURATION ERROR
    
    main.inc.php was not found.
    db.inc.php was not found.
    Please read the INSTALL instructions!
    
    Check if these files exists (in right place)* and its permissions.

    *Use error logs for know where is the right place.

    In my server (Debian 6.0.2)

    Code:
    ls -al /var/lib/roundcube/config/
    total 8
    drwxr-xr-x 2 root root 4096 Aug  5 21:25 .
    drwxr-xr-x 6 root root 4096 Aug  5 21:19 ..
    lrwxrwxrwx 1 root root   25 Aug  5 21:19 db.inc.php -> /etc/roundcube/db.inc.php
    lrwxrwxrwx 1 root root   27 Aug  5 21:19 main.inc.php -> /etc/roundcube/main.inc.php
    lrwxrwxrwx 1 root root   28 Aug  5 21:19 mimetypes.php -> /etc/roundcube/mimetypes.php
    Code:
    ls -al /etc/roundcube/
    total 56
    drwxr-xr-x   2 root     root      4096 Aug  6 18:18 .
    drwxr-xr-x 103 root     root      4096 Aug 15 10:37 ..
    -rw-r--r--   1 root     root      1685 Aug  6 13:13 apache.conf
    -rw-r--r--   1 root     root      2260 Oct 18  2010 db.inc.php
    -rw-rw----   1 www-data www-data   546 Aug  5 21:20 debian-db.php
    -rw-r--r--   1 root     root       567 Sep 27  2009 lighttpd.conf
    -rw-r-----   1 root     www-data 18313 Aug  5 21:25 main.inc.php
    -rw-r--r--   1 root     root      2392 Aug  7  2009 mimetypes.php
     
  19. rvdvalk

    rvdvalk New Member

    I reinstalled roundcube 0.5.4 and everything is working now.
    Thanks for helping :)
     
  20. mentes

    mentes New Member

    I'm glad to hear that :D
     

Share This Page