Subdomain and webmail?

Discussion in 'Installation/Configuration' started by S3NTYN3L, Mar 16, 2009.

  1. S3NTYN3L

    S3NTYN3L New Member

    I reinstalled Debian only this time I went with ISPConfig2 rather than 3.
    My thinking was that there is more documentation on it and people are more familiar with it.

    I've got my website running. (

    I'm needing a subdomain ( rather than the default address.

    Every time I attempt this, I get a page saying something about the domain being shared.

    How do we correct this?

    I am waiting to install SquirrelMail (or similar if you've got something better) just in case we need to change something in the way it's installed.

  2. torusturtle

    torusturtle ISPConfig Developer ISPConfig Developer

    Did you create a new site for the subdomain or did you add a Co-Domain to the existing one?
  3. robilaur

    robilaur New Member

    Make a new site with the domain and install squirlemail on that specific client
  4. S3NTYN3L

    S3NTYN3L New Member

    Previously, I'd tried both methods.

    I haven't done anything yet.
    I've reinstalled twice now, I'm waiting for you experts to chime in and tell me exactly how to do it. I'm doing it wrong I guess.

    So I log in as admin, create a new site with mail for a hostname and for a domain.
    I then log into the mail domain's CP and install SquirrelMail?

    I'm kind of confused be cause the update manager doesn't give me the option to choose where to install it.

    Are you saying I'd need to do the install directly at my server box?

    If so, how exactly? I'm new to linux.

    If it matters, I'm behind a router and No-IP is pointing to my dynamic IP regularly via the DUC Client
  5. S3NTYN3L

    S3NTYN3L New Member

    OK, following this tut, I was able to get a welcome page saying "Welcome to" rather than the Shared IP thing.

    In step 8 of that tut, it says "You can login with any valid e-mailaccount (username/password) combination."

    I don't get a login page, I only get the default welcome to mail.mydomain page.

    Where did I go wrong?

    Never mind, I got it!

    I had to delete the index.html file from the web folder.
    It is now using index.php file instead.

    I've got access now.

    That said, do I need to create any DNS records to access this stuff from the outside world?

    I've not done so yet.

    I know that sometimes accessing things from a machine on your own network is NOT the same as accessing them from the outside world.
    Regardless of whether or not the domain names are working as opposed to IP addresses.


    If I want to remove the web[WEBID]_ prefix from my login, how do I do that?

    Would it be better to reinstall everything and edit the prefix BEFORE creating my websites and log ons?


    I also cannot send or receive emails.
    From either end, I get no error messages or email returned as undeliverable.
    Sending mail from my GMail account to [email protected] returns no errors either.

    Any ideas?
    Last edited: Mar 16, 2009
  6. falko

    falko Super Moderator ISPConfig Developer

    I don't recommend removing the prefix - you will get all kinds of problems, especially with email.

    Any errors in your mail log?
  7. S3NTYN3L

    S3NTYN3L New Member

    But if I remove it before setting up the email address it shouldn't be an issue, right?
    I'm really not liking the fact that I've got log log in with "web#_username".

    Where is the mail log again?

    I was thinking about something while at work today...
    Since I'm using No-IP to keep my dynamic IP synced, I should NOT be creating any DNS records within the ISPC control panel, correct?

    I SHOULD be creating them within my No-IP account instead, yes?

    In my edits above, I said that I've received no error messages when attempting to test my email server by sending a message from my GMail account. Well, I just got home and there were error messages sitting in my GMail inbox.

    I'm thinking this has something to do with the DNS records, yes?

    So, I'm going to have another go at this now.
    I'm going to start with another fresh install.
    I'll then create the account within ISPC.
    I'll create an MX record for it from within No-IP.
    I'll then create my website. within ISPC.
    I'll create an A Record for that via No-IP as well.

    That should be all I need to do, yes?
    I honestly don't know where I'm going wrong.:eek:

    Again, in one of my edits above, I stated that I had "fix" the Shared IP message I was getting.
    Well, after closing my browser and opening things back up, it was back to giving me that message again.

    One last thing...
    Is it better for me to install SquirrelMail via the package/update feature in ISPC or to install SquirrelMail manually using this tutorial?


    I'm reading the No-IP site.
    My MX record need to point to JUST the hostname of my server, yes?
    So it would be myserver NOT
    Last edited: Mar 17, 2009
  8. falko

    falko Super Moderator ISPConfig Developer

    Doesn't matter - you will get problems...

    In the /var/log directory.



    I guess the problem is that you are on a dynamic IP which is most likely blacklisted (see ).

    It's easier using the package from
  9. S3NTYN3L

    S3NTYN3L New Member

    That website you linked to says I'm blacklisted.

    Is that a free service to un-blacklist me?

    If not, I'll just shutdown my modem and router for a few hours and try a different IP from my service provider.
    I can't see paying a fee every time my IP changes.

    I'd MUCH rather not, but if I have to pay No-IP to handle my email server I guess I will... :(

    OK, so needs ONLY an A Record, and, the gets ONLY an MX Record?
  10. sierra

    sierra New Member

    me 2

    Hi people

    I think I want to do the exact same thing here- did you figure it out? Can we put it into a complete howto?

    After installing RoundCube I can reach the webmail logon only via http://webmail.hostingcompany.tld

    but I want all customer sites to automatically work too, using http://webmail.customersite.tld

    I've been trying to get this to work via mod_rewrite or DNS A records and forwarders but no luck.

  11. falko

    falko Super Moderator ISPConfig Developer

    Dynamic IPs will not be delisted. If you want to send from your dynamic IP, take a look here:
  12. falko

    falko Super Moderator ISPConfig Developer

    Please open a new thread.
  13. S3NTYN3L

    S3NTYN3L New Member

    Understood, falko.

    One last thing,

    I'm where do I access the MySQL CP?

    Can that be integrated with the ISPC CP?


    Never mind.
    I just saw phpMyAdmin on the Downloads page.

    I swear, I'm so dense at times...:(

Share This Page