Wednesday, 24 September 2014

CDRTool virtual host Configuration | how to enable Virtual host on 8080 post

By vm  |  00:01 No comments


This post is written by a newbie linux user .

We know that apache2 is runnig on 80 port. I also tried to add the new virtual host for CDRTool in 80 port but it is not wotking. So i decided to run CDRTool virtual host on 8080 port.

Here is the configuration

step 1 :

cp setup/apache2/sites-available/cdrtool.example.com /etc/apache2/sites-enabled
step 2 :

rename it to your website name
mv cdrtool.example.com mysite.com

step 3 :
edit mysite.com file to suit your Environment here is my file

Listen 8080

NameVirtualHost mysite.com:8080

<VirtualHost mysite.com:8080>

ServerName mysite.com
ServerAlias www.mysite.com
DocumentRoot /var/www/
CustomLog /var/log/apache2/cdrtool-access.log combined
ErrorLog /var/log/apache2/cdrtool-errors.log
SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown

<Directory /var/www/CDRTool>
Options FollowSymLinks
AllowOverride All
</Directory>

</VirtualHost>

save the file
step 4 :
now move this file to /etc/apache2/sites-available/ folder.
Mv /etc/apache2/sites-enable/mysite.com /etc/apache2/sites-available/

step 5 :
now use a2ensite command on mysite.com file like this
a2ensite mysite.com

step 6 :
Now restart the apache2 like this
/etc/init.d/apache2 relaod
That's it. You are successfully configured one New Virtual host

step 7:
open your browser. Now type like this

mysite.com:8080/CDRTool

ohhhh you can see CDRTool Login page now..


Author: vm

Hello, I am Author, decode to know more: In commodo magna nisl, ac porta turpis blandit quis. Lorem ipsum dolor sit amet, consectetur adipiscing elit. In commodo magna nisl, ac porta turpis blandit quis. Lorem ipsum dolor sit amet.

0 comments:

E-mail Newsletter

Sign up now to receive breaking news and to hear what's new with us.

Recent Articles

© 2014 VOIP4Learn. WP themonic converted by Bloggertheme9. Powered by Blogger.
TOP