c# - How to Deploy Owin Self Hosted Application In Production? -


i have asp.net owin self hosted webapi application. application can installed windows service in production environment.

currently i'm running , accessing service via url http://localhost:8000 successfully.

now want map service domain access public network. have registered domain , have control on it. ex: www.myservice.com

how can point domain webapi service self hosted application?

in order allow public access self-hosted owin web api app. follow following steps:

  1. allow inbound connections firewall

    run wf.msc command open windows firewall advanced security , add new inbound rule tcp port 8000 or port want use.

    you can make sure service getting request opening <machine public ip>:8000 other machines.

  2. get static ip isp

    request isp static ip. of times isp charges that. if have static ip, skip step , move next step.

  3. point domain static ip

    lastly, go domain dns manager , add a record host name = www , ip adress = <your machine static ip>.

    you might need add a record host name = @ , ip adress = <your machine static ip> if want want access service without www.

    the procedure of adding record varies. can read knowledge base documents provided registered on how add a record.


Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -