Multi domain alias

Discussion in 'General' started by Saikku, Mar 19, 2013.

  1. Saikku

    Saikku New Member


    I have a problem about setting up an alias in ISPConfig (

    I have a main website,, which is only the root installation of my cms.
    Then I have a bunch of alias on it, such as,, etc. I define the alias on nginx and the cms catches the urls and deliver a different view for each on them.
    What I am trying to create an alias from a former website of mine,, to a category in (so a full url, with a path etc.).

    I tried several options in isp to do my redirect, but with no success, it only redirects me to my main store. Does anyone have an idea about how to do?

    By advance, thank you.
  2. almere

    almere ISPConfig Developer ISPConfig Developer

    Something like this?
    if ($http_host = "") {
            rewrite ^ permanent;
  3. Saikku

    Saikku New Member

    Thank you I will try it

Share This Page