NetTalk Central

Author Topic: How to deploy?  (Read 5136 times)

John Fligg

  • Sr. Member
  • ****
  • Posts: 361
    • View Profile
    • Ambrit Software
    • Email
How to deploy?
« 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

DonRidley

  • Don Ridley
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 729
  • donaldridley2011@gmail.com
    • View Profile
    • Email
Re: How to deploy?
« Reply #1 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
"Eliminate the impossible, whatever remains, however unlikely, must be the truth."

NetTalk 12.55
Clarion 11

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11275
    • View Profile
Re: How to deploy?
« Reply #2 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

John Fligg

  • Sr. Member
  • ****
  • Posts: 361
    • View Profile
    • Ambrit Software
    • Email
Re: How to deploy?
« Reply #3 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

terryd

  • Hero Member
  • *****
  • Posts: 759
    • View Profile
    • Davcomm
    • Email
Re: How to deploy?
« Reply #4 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
Terry Davidson
Windows 10 64 bit/Windows7 64bit
Clarion 9.1.11529/Clarion10 12567
Nettalk 913
Nettalk 1015
StringTheory267/Winevent515/XFiles298/MessageBox239/Cryptonite186

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11275
    • View Profile
Re: How to deploy?
« Reply #5 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