Difference between revisions of "Can I have a hostname for MOR"

From Kolmisoft Wiki
Jump to navigationJump to search
(Created page with ''''Yes you can!''' 1. All you need to do is purchase a domain from a domain hosting company like http://www.godaddy.com/ or any similar 2. Forward the domain to your MOR serve…')
 
 
Line 12: Line 12:


  http://MORIPADDRESS/billing
  http://MORIPADDRESS/billing
==== Configuration from MOR side ====
1. Variable Web_URL in /home/mor/config/environment.rb  file has to be set to correct URL (by default it is set to IP address). In our example it would look like this:
Web_URL = "http://sip.mycompany.com"
2. It is also a good practice to set ServerName directive in /etc/httpd/conf/httpd.conf to correct fully qualified domain name (by default ServeName directive is commented out in httpd.conf file). So in our example, we would change default commented line:
#ServerName www.example.com:80
to
ServerName sip.mycompany.com
3. Restart httpd service
service httpd restart

Latest revision as of 10:31, 22 September 2015

Yes you can!

1. All you need to do is purchase a domain from a domain hosting company like

http://www.godaddy.com/ or any similar

2. Forward the domain to your MOR server, so if for example you have a domain like:

http://sip.mycompany.com

It would be forwarded automatically to:

http://MORIPADDRESS/billing

Configuration from MOR side

1. Variable Web_URL in /home/mor/config/environment.rb file has to be set to correct URL (by default it is set to IP address). In our example it would look like this:

Web_URL = "http://sip.mycompany.com"

2. It is also a good practice to set ServerName directive in /etc/httpd/conf/httpd.conf to correct fully qualified domain name (by default ServeName directive is commented out in httpd.conf file). So in our example, we would change default commented line:

#ServerName www.example.com:80

to

ServerName sip.mycompany.com

3. Restart httpd service

service httpd restart