sub domains

Discussion in 'Installation/Configuration' started by tribaljedi, Jun 15, 2006.

  1. tribaljedi

    tribaljedi New Member

    I'm a bit confused on how to setup sub domains within ISPConfig.

    I see the co-domain feature, however this doesn't work like a true subdomain. If I make a co-domain and point it to, it just rewrites the url. So if I visit it redirects to

    I do not want it to do this. I want the address bar to say not

    I can easily do this by modifying my httpd.conf file but I would prefer to do this through ISPConfig.

    Is this possible?
  2. tribaljedi

    tribaljedi New Member

    Ok I tried creating a second site and using the Apache Directives box, however ISPConfig automatically sets the DocumentRoot. I need to somehow overwrite that and specify my own document root.
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    You can not specify the document root in ISPConfig manualy.

    Why dont you just copy or symlink your websites?
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Sure. But you sued the wrong feature. Justr add a new website "" for this client and install your forum software in the web root that ISPConfig created for you.
  5. tribaljedi

    tribaljedi New Member

    That really isn't feasible at this point. I have quite a bit of custom code I wrote to tie the forum and website together as one. It would be a pain to go through and modify everything.

    I'll just leave my httpd.conf modifcations in place and not worry about using ISPConfig to handle the subdomain.

    I was just confused because all other management systems like Cpanel and Plesk allow you to create subdomains in that fashion. I figured it had to be somewhere in ISPConfig also.
  6. falko

    falko Super Moderator Howtoforge Staff

    You can try to put your own rewrite rules in the Apache Directives field of that web site in ISPConfig (of course, you then have to remove the forward from the Co-Domain).
  7. taylan

    taylan New Member

    subdomain problem

    i just began to use ispconfig i dont know how to create subdomain
    i have got my domain name
    i want to have i just need to know how to achieve that
    i created cname on my dns manager on i am not sure there is need to create cname on myd dns manager . i read most of the forums but i couldnt make it
    my public adress is and i redirect to router machine
    running centos and ispconfig can you explain what is the process step by step
    and i need to create to reach for mails thank you very much for helping
  8. marclar

    marclar New Member

    First you have to tell the DNS server that the should point to the same ip as Usualy you can do this through the web interface of your DNS manager...

    Than you set up a new site in ISPConfig, and enter "sub" as a host, and "" as a domain name.

    Than, just copy the page that you wont to be displayed under, into the web folder that has been created for that site. You can acces it through ftp.

    I think that's about it, please someone correct me if i'm wrong!

    Trying to help:D
  9. taylan

    taylan New Member

    thanks for quick respont

    Thanks marclar
    i created cname before now i pointed using A record the my public adress it goes to particular folder it works but url is now automaticly
    actually i want to have url adress if you know aswer of that one i will appreciate thank you very much for help

  10. falko

    falko Super Moderator Howtoforge Staff

Share This Page