Someone tell me how to add subdomain please!

Discussion in 'Installation/Configuration' started by NDIS, Oct 5, 2009.

  1. NDIS

    NDIS New Member

    I've spended all afternoon finding the right way to make a subdomain. tryed several things.
    There is nothing to find on google.

    Can someone please make a detailed simple how-to here.

    1:How to make : ---> linkes to:

    2:how to make : ---> with its own space.

    Please help me out.
  2. damir

    damir New Member

    Make a new aliasdomain. In domain field type the alias, In Redirect Type choose LR and finally in Redirect Path field type the name of the folder, like this /subfolder/

    That's about it.

    You can do that by creating new website and under domain type the subdomain like
  3. NDIS

    NDIS New Member

    And what about the DNS settings? or are there none?
  4. damir

    damir New Member

    In both cases you need to setup A record to the IP of the webserver.

    Example: IN A

    You can do this through ISPConfig if you are using DNS module or through you DNS provider.
  5. NDIS

    NDIS New Member

    Well, i tryed this. And i only get the subdomain working with its own space.

    I tryed for a long time, but the alias domain does not work.
    does anyone know how to do this?
    And how long do you need to wait for this to work?

    Thanks in advance!
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    The alisa domain works as well, its just an alias. So if you enter the alias domain in the browser, you get the website were this domain is the alias for. Thats the intended behaviour of an alias domain.
  7. NDIS

    NDIS New Member

  8. till

    till Super Moderator Staff Member ISPConfig Developer

    Add a aliasdomain and then go to the redirect tab and enter /sub/ as target and "L" as redirect method.
  9. NDIS

    NDIS New Member

    Finaly, that works!

Share This Page