Can I set IP restrictions using the Wix IIS extension? - iis

Is it possible to set-up IP address restrictions for an IIS site through a Wix installer? I don't see it mentioned in the IIS extension documentation. I want the site to be available to only one specific IP address.
Thanks!

No, not today. It'd be great if you contributed the code to handle that case to the WiX community though.

Related

Can I let my website down usign godaddy

I create a website using web builder in godaddy.
But Now I want that website be unreachable so the status should not be 200.
Is there a way to do this?
Thanks in advance
Yes, just call GoDaddy tech support and ask them to do this. They'll walk you through step by step.
One option would be to set your domain to a Parked page. That would still retain your web builder creation to be used at a later time.

How to get the application names hosted in IIS?

I have an application which is used to configure the applications under "Default Web Site" in IIS. Now i want to check whether all the applications are hosted in IIS successfully or not using C# code. Can anyone please guide me to get the application hosted name from IIS?
I have tried but no luck.
Thanks in advance!!!
Regards,
Karthi.
new System.DirectoryServices.DirectoryEntry("IIS://localhost/w3svc").Children
Since you are on IIS 7 and above, you can use Microsoft.Web.Administration,
http://www.iis.net/learn/develop/extending-the-management-ui/overview-of-mwa-and-mwm-for-iis
Besides, keep in mind the facts you should know,
https://blog.lextudio.com/2015/05/whats-microsoft-web-administration-and-the-horrible-facts-you-should-know/

How to know my website is available all over the world?

I have a website at e.g. http://example.com
This website is not available in China! I searched a lot but can not find the reason. My website is available elsewhere but not in china. Why?
How can I test my website availability for different countries?
You could use a proxy hosted in the desired country to browse as if you were there.
https://www.google.es/search?q=proxy+china&oq=proxy+china
I Suddenly find the best solution. You can use this website:
host-tracker.com
Just type your website and it loads it using lots of servers all over world and reports the results.

How blocking search results in IBM Websphere 6.1 for google and others

How can blocking search results in IBM Websphere 6.1
I mean for any website like google or any search because if have testing environment so no need to appear any URL or contents related the testing in any search site
Thanks
The only real solution is to make your site accessible on your internal network only. That said, most search engines respect robots.txt, so you could try that. There's no specific support within the WebSphere Application Server product itself.

Does Azure support <ipsecurity/> in web.config?

In this post (as of January 10th) Allen Chen says it does not. However, it seems like the other poster indicates that it does (at least in the dev fabric). Does anyone know if this is supported.
My hope is to restrict access via IP address to my staging and dev sites. Adding this to the respective web.config's would be the easiest way.
You can get this working via a web role startup.cmd. Andy Cross has a great blog post explaining how http://blog.bareweb.eu/2011/04/restricting-access-by-ip-in-azure-web-role-v1-4/
I ended up just creating an httpmodule and filtered using that. I used Scott Hanselman's solution here as a starting point: http://www.hanselman.com/blog/AnIPAddressBlockingHttpModuleForASPNETIn9Minutes.aspx
It worked like a charm and provide a lot of flexibility.
Thanks Scott.
I don't believe it is settable today in the webrole. Checking the applicationHost.config, I see that ipSecurity is set to disallow override, which means you cannot set it at the web.config level. That being said, if you take over the IIS process via Hosted Web Core (see code.msdn.microsoft.com/hwcworker), you can change the applicationHost.config and it might just work.

Resources