add domain to subfolder of exist domain

Discussion in 'General' started by raczkowski1, May 24, 2014.

  1. raczkowski1

    raczkowski1 New Member

    I have some domain ex. which path is /var/www/clients/client1/web1/web
    and I want add subdomain to subfolder ex. -> /var/www/clients/client1/web1/web/pr

    Redirect is working but add 'pr' at the end (
    Would be better to add additional vhost with url -> /var/www/clients/client1/web1/web/pr

    How should I configure it?

  2. raczkowski1

    raczkowski1 New Member

    I find solution. I use redirection type 'L' and in htaccess in subfolder (CMS Joomla) un-commented 'rewrite /'.
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    Or use the vhost subdomain function in ispconfig.

Share This Page