-
May 13th, 2010, 09:07 AM
#1
How to deploy on a web hosting service ?
I'm going to host my website on a Web host service.
Should i ask them to register for 1 domain (www.mycompany.com) or for 2 domains (www.mycompany.com and push.mycompany.com) ?
Should they configure their dns to make this (those) urls point to the public ip ?
-
May 13th, 2010, 09:49 AM
#2
In order to be able to use standard HTTP ports (80) for both your Web Server and your Lightstreamer Server, you should register two hostnames, e.g.: www.mycompany.com and push.mycompany.com.
This implies you should use two different public IP addresses for the two servers. In case you are using one physical machine for the two servers, you will need two network cards or two virtual machines.
-
May 13th, 2010, 11:05 AM
#3
In my case, i have the 2 servers (tomcat:80 and lightstreamer:8081) on the same machine.
is there any additional configuration i have to make ? (in addition to having 2 network cards)
And why do i need 2 network cards ?
use standard HTTP ports (80) for both your Web Server and your Lightstreamer Server
Does that mean that the 2 servers MUST use the same port (80) ?
-
May 14th, 2010, 10:49 AM
#4
No, the 2 server must not necessarily use the same port, but it is recommended, as there are many corporate firewalls out there preventing any ports other than 80 and 443 to be accessed. So, if you want the maximum accessibility for your application, you should avoid using non-standard ports, like 8081.
If you decide to go for two different ports, then you don't need two network cards, you don't need two public IP addresses, and you don't need two different hostnames.
-
May 14th, 2010, 09:24 PM
#5
If you decide to go for two different ports, then you don't need two network cards, you don't need two public IP addresses, and you don't need two different hostnames.
So 2 different ports, 1 network card, 1 public address.
In this case, i have to register for 1 domain ? (www.mycompany.com)
So what to do with the other ? (push.mycompany.com)
-
May 17th, 2010, 09:17 AM
#6
In that case you don't need to register push.mycompany.com.
-
May 21st, 2010, 11:07 AM
#7
What should i put in setDomain(), setLSHost(), and setLSPort() ?
-
May 24th, 2010, 10:37 AM
#8
setDomain: mycompany.com
setLSHost: www.mycompany.com
setLSPort: 8081
-
May 24th, 2010, 11:39 AM
#9
Similar Threads
-
By rbg001 in forum Client SDKs
Replies: 3
Last Post: May 25th, 2011, 02:11 PM
-
By AndyKelly in forum Client SDKs
Replies: 1
Last Post: July 7th, 2010, 10:50 AM
-
By AndyKelly in forum Adapter SDKs
Replies: 0
Last Post: July 6th, 2010, 10:34 AM
-
By minhphan200677 in forum General
Replies: 1
Last Post: April 11th, 2008, 11:26 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 11:43 PM.
Bookmarks