NetTalk Central

Author Topic: NT8 Host on Amazon - how to get subdomains working  (Read 3023 times)

MyBrainIsFull

  • Full Member
  • ***
  • Posts: 134
    • View Profile
NT8 Host on Amazon - how to get subdomains working
« on: February 21, 2015, 04:21:14 AM »
after a big weekend - I have an amazon (FREE) server working- (anyone want a webinar)   and have loaded net talk examples up to test that it works, and its great. They work like you would hope.

The public dns Amazon gave (for my instance) is    ec2-52-10-164-215.us-west-2.compute.amazonaws.com   which I mapped to  www.escapepayroll.com

So then I copy the working folder from our office server to amazon - loading my host.exe and its folders / data etc  - NOTE the server is not bound to an ip
After a few folder adjustments I get the static page to load using www.escapepayroll.com, which the NT8 server sees as coming from   ec2-52-10-164-215.us-west-2.compute.amazonaws.com (see image 2)

Image 1 is the page seen when called from www.escapepayroll.com, it shows the redirection to the public dns from amazon  (this is good)
Image 2 shows NT8 receiving this request and identifying the caller as ec2-52-10-164-215.us-west-2.compute.amazonaws.com   NOT   as www.escapepayroll.com

WHEN I use a sub domain to activate the Employee DLL   "Emp.Dll"  the server returns me the listing of  "Browse Servers"  like I had entered 127.0.0.1  locally - NOT a listing of employees like it does in the office.

So it looks like the cloud has taken our ability to determine the domain, so instead of using
  * EMP.www.escapepayroll.com    (which dosent work)          I used
  * EMP.ec2-52-10-164-215.us-west-2.compute.amazonaws.com   which does not resolve - see image 3

The server view from amazon is image 4

-------------------------------
Anyone had experience here to give a nod as to how to get the sub domain when using amazon ?

Thanks
K

[attachment deleted by admin]
« Last Edit: February 22, 2015, 02:56:46 AM by MyBrainIsFull »

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: NT8 Host on Amazon - how to get subdomains working
« Reply #1 on: February 23, 2015, 01:24:31 AM »
Hi Kevin,

Well the good news is that it shouldn't need to do this - we are running on Amazon and not seeing this effect. I think the root problem is this sentence;

>> The public dns Amazon gave (for my instance) is    ec2-52-10-164-215.us-west-2.compute.amazonaws.com   which I mapped to  www.escapepayroll.com

I don't think that's what you wanted to do. You are not trying to point your domain (www.escapepayroll.com) at _another domain_ - you want to point it at an IP address. (50.63.202.13).

So rather I would like you to report that;
"The IP address that Amazon gave to my instance is 50.63.202.13 which I mapped to www.escapepayroll.com "

Cheers
Bruce