Forward on subdomain, but alias as url?

Discussion in 'Installation/Configuration' started by OnTheRun, Jun 8, 2006.

  1. OnTheRun

    OnTheRun New Member

    Hello all,
    when you have a domain, i.e. domain.ch and there a subdomain (subdomain.domain.ch) and you map for example domain2 on subdomain.domain.ch, then the user gets forwarded with subdomain.domain.ch as domain in his browser. Is it somehow possible, that he does not see that forward? So that it looks like hes surfing on domain2.ch? (except he opens a link from that page in a new window)

    Thank you and with kind regards
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Try to not enter anything in the forward field of the co-domain subdomain.domain.ch, then the domain is just an alias and there is no forwarding.
     
  3. OnTheRun

    OnTheRun New Member

    Hello till,
    thank you for your answer.
    I tried that solution before as well, and it works like a charm :)
    But what if you have i.e. a forward from http://www.domain2.ch to http://www.domain.ch/folder1/folder2?
    Then it's not possible to insert domain2.ch under co-domains, because it would only lead to domain.ch.
    How do I do this then?

    Thank you and with kind regards
     
  4. falko

    falko Super Moderator ISPConfig Developer

    Enter /folder1/folder2 in the forwarding field of doamin2.ch.
     

Share This Page