Reputation: 13
It is very painful for me how to make my domain to point my Static IP with /application name in iis.
i have successfully pointed to my static ip but how can i point to my web site which is hosted inside / folder for example 122.33.44.55/MyApp
.
is there any way to do this? i m using iis 10 .
i have already tried domain forwarding with masking but all urls are hiding inside my domain.
Upvotes: 0
Views: 497
Reputation: 12351
ok i understood what you are saying.but when i create new website like website2 and add my application inside it then how can i point it with my domain which i have purchased ??. my main concern is that i want to point suppose 233.44.32.1/MyApp from my domain www.showapp.com
When you create a new site in IIS, if you have more than 1 Sites
, and your server only has 1 IP, or you want to share the same IP for multiple sites, then use host headers
(#10 in the steps outlined in the link)
Actions Pane -> Edit Site -> Bindings (IIS Manager)
Screenshot shows:
Sites
in IISSite
- in this screenshot, I'm editing the bindings of a site I named WebApi
(each site will have its own bindings/settings).www.domain.com
domain.com
(no "www")DNS
and networking properly, you should be set. Notes:
The screenshot shows my local IIS server. It's not public so I don't do public DNS and just set my local hosts
file (instead of DNS) for any host I want (not valid TLDs like dev.webapi
above)
There are multiple ways of setting servers up (e.g. public vs local IP in a network, etc.), and I'm not getting into detail here, so these are "general"
Upvotes: 1