M
M
m1hanya2016-03-31 09:16:14
OTRS
m1hanya, 2016-03-31 09:16:14

How to do a domain redirect?

There is OTRS installed on the server (web apache). Opens at site.net/otrs/index.pl How to make it open at otrs.site.net

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
O. J, 2016-03-31
@OrlovEvgeny

You need to set up the otrs.site.net subdomain in apache and map it to the directory where otrs is located.
For example:

Listen 80
<VirtualHost *:80>
        ServerName site.net
        ServerAlias www.site.net
        DocumentRoot /var/www/site.net
 
        <Directory /var/www/site.net>
      Options Indexes FollowSymLinks MultiViews
      AllowOverride None
      Order allow,deny
      allow from all
        </Directory>

        ErrorLog /var/www/site.net/error.log
</VirtualHost>



<VirtualHost *:80>
        ServerName otrs.site.net
        ServerAlias www.otrs.site.net
        DocumentRoot /var/www/otrs.site.net

        <Directory /var/www/otrs.site.net>
      Options Indexes FollowSymLinks MultiViews
      AllowOverride None
      Order allow,deny
      allow from all
        </Directory>

        ErrorLog /var/www/otrs.site.net/error.log
</VirtualHost>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question