NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: John Fligg on November 25, 2011, 02:47:36 AM

Title: How to deploy?
Post by: John Fligg on November 25, 2011, 02:47:36 AM
I have my webserver app running on my local machine. I have changed the port to 80 (nonSSL) and deployed the server.exe and web folder files to the server. This not my own server but a hosted server.

But how does a user actually log on? My domain is ambritsoftware.com and the files are in the webapp folder.

So do I try http://ambritsoftware.com/webapp/server.exe?

I would have assumed you would need to access the index page but there is no index page generated.

On my local machine I use 192.168.2.4:88 once the server is running. So I thought logically if you access the index.htm page then that might start the server running on the hosted server.

Sorry never done this before.

Thank you.

John Fligg
Title: Re: How to deploy?
Post by: DonRidley on November 25, 2011, 07:11:18 AM
Hello,

You can just about put the EXE and web files anywhere you want on the machine. 

Once, the server's port is opened to the outside world, all you have to do is point at the IP address to that machine.

So, if your server is running at http://123.23.45.67 , just add the port number: (say you're using 80) it would look like this http://123.23.45.67:80.  You do not have to specify anything else.

Now, you may not want to give your users an IP address.  If you have a domain name, just "forward" the domain to your IP address.

It's actually the easiest web server to deploy that I have ever worked with. 

Good luck and it's good to see you over here.  (I can't remember your name but I know we have emailed each other before...)

Don
Title: Re: How to deploy?
Post by: Bruce on November 25, 2011, 07:38:41 AM
>> http://123.23.45.67:80.

actually, for port 80 specifically, you don't need the :80 part.

However - only one program can be listening on port 80. So if you are running IIS on the machine then you will need to stop that before starting your web server exe. Or run it on a different port, in your case 88.

Assuming you're running it on port 88, on the same machine as currently hosts your
http://ambritsoftware.com
site, then you would use
http://ambritsoftware.com:88
to get to the server.

Cheers
Bruce
Title: Re: How to deploy?
Post by: John Fligg on November 26, 2011, 02:19:53 AM
Sorry Mr. Dimmo is back <g>

1. Are you saying you need to run IIS? Remember never done this before.
2. So the Server runs on Port 88 but the application is accessed via Port 80? Is that correct?

I am now having to run this application on a dedicated server, NOT the server where my website is.

John
Title: Re: How to deploy?
Post by: terryd on November 26, 2011, 02:39:34 AM
Hi John
If your site is http://ambritsoftware.com
If you want to use port 80 then IIS must be switched off because it uses Port 80 and you would have a conflict.
So if you have set port 80 as the port in the NT websewrver defautls then to access the website you would only have to enter http://ambritsoftware.com in your webbrowser to access your site because that means the same as http://ambritsoftware.com:80
However if you want to use port 88 as your port then you need to enter http://ambritsoftware.com:88. In this instance you would have to do nothing about IIS since it is only (normally) interested in port80
Title: Re: How to deploy?
Post by: Bruce on November 26, 2011, 06:32:40 AM
>> 1. Are you saying you need to run IIS?

no.

>> 2. So the Server runs on Port 88 but the application is accessed via Port 80?

no.

cheers
Bruce