简体   繁体   中英

how to connect to published website on remote server IIS

I have published folder of my website. On remote server in IIS,I add new website and application pool. Also I wrote host name " ccportal-ivr.com " of my site in file " hosts ",which locate in: C:\\Windows\\System32\\drivers\\etc\\hosts

  127.0.0.1       ccportal-ivr.com

What I need to configure, if I need to enter to my website from my local PC(only write in browser ip of remote server)?

That hosts entry will direct all requests to ccportal-ivr.com to 127.0.0.1 , which is your machine's local address. Since your site is on a remote server, you should either put that server's IP address in your hosts file instead, or just leave hosts alone and enter the server's IP address in your browser's address bar.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM