I have a website under www.somedomain.com
. Now, I would like to setup IIS to display some simple single-html page that says "site under maintenance" or something like that to all my users who access it, but also, I want to have full access to my website when I enter it. So basically I want to disable all IP's but mine from using the website. How can I do it?
ojek's questions
I have a remote server that is located about two countries away from my location. That means, that the server is set up to -1 hour in comparison to my time zone. And I need it to work on my local time zone. I don't have access to bios or anything like that, so what I am doing, is manually setting up date and time in control panel. It works fine, until the computer resets, then it's back to -1 hour again. It messes up my applications totally, and it cannot be that way. Is there anything I can do about it?
I have sql express on my local network computer, I created new account, I enabled server auth, and when I am trying to connect to this account from local machine, everything works fine. But when I try to log in from a network pc, it says that login failed for this account. Also, I have disabled all the firewalls.
What else do I need to do?
I am using client - server software called XSockets. I can run it on my local computer, but I cannot on my web server. This is my home configuration (win7 IIS7):
myDomainName.com points directly at 111.111.111.111(lets say my home IP ;)). Now 111.111.111.111 is my local router, that DMZ's everything to my local computer, which is 192.168.0.10.
Now, when I setup my local XSockets server to listen on 192.168.0.10 (I doesn't fully understand why I need to explicitly specify that, but let's omit that, the question is not about that) everything works as intended, and by that I mean, that I can go to https://myDomainName.com and everything works fine.
Important note: as you can see above, I am accessing my page from within https:// protocol - that is required for my configuration, it cannot be plain http:// (I am pointing this out because maybe this has something to do with my problem).
Now here is the problem: I am setting up the same configuration on my web server (win2008 R2 IIS7.5), the only difference is, that my server has myServerDomain.com with ip 222.222.222.222 pointing directly at the server (no nat here, no LAN ip), so I am setting XSockets to listen at 222.222.222.222. This does not work for me at all.
Questions:
- Obviously - why it is not working? Am I maybe missing some IP configuration at my server?
- How can I debug this out?
- What is the difference between having a LAN IP and having a public IP? I mean of course, in my case, because my point of view is, that since 192.168.0.10 points to my local PC, then the server is working fine, since it is running on that PC. So, as for me, it is logical, that if there is no LAN, then 222.222.222.222 should work as my PC address, so the app should work too. Right?
Edit: Of course firewall is not the case - I was testing everything with firewall turned off completely.
Edit2: I was reading my post and I thought that I need to share some more info about that - First of all, XSockets is a WebSocket framework, I have almost successfuly integrated it with my website (that runs on 222.222.222.222). As I mentioned above, I need to use https, that's because XSockets are working on plain ws:// protocol without a problem (with 222.222.222.222 in setup). The problem begins, when I try to use wss:// with 222.222.222.222. https:// on my server works fine (and to be clear - https:// with wss:// are working fine also on my local pc - 192.168.0.10). So every configuration is working but wss:// on my server.
Few days ago I have installed Hmail on my server, with pretty default config. Today i saw, that this e-mail server is not working for my local e-mail account providers (my country's local yahoo versions etc), emails sent by my server are only properly received by gmail. Is there anything additional that i need to setup on my email server in order to send e-mails, so they can be properly received everywhere?
Edit: I just found out that my emails were sent, but rejected due to anti-spam. What can I do about it?
This is my site:
http://scyk.pl
When you go
https://scyk.pl
Everything is ok, but when you go
http://scyk.pl:443
Connection is timing out. I am running IIS7, today I configured ssl, and I don't know why :443 version is not working. Any help?
I have freshly installed ISS with SQL server and asp.net mvc application. I want my app to use windows authentication. On my application side, i know that i have good connection string, because i was running it on my local machine and it was working fine.
On my new remote server, it does not want to work - so i changed connection string to use credentials - sa, and it worked. So i obviously am lacking some configuration there for windows auth.
As far I did is I added network service to my sql server logins, and granted it admin privileges. Also, my application pool is running as network service. It still doesn't work, what did i miss?
Edit for clarification: WinAuth is enabled in my sql server.
I have web application that will be similar to forums. I plan to have few thousands+ users on this application, and i wonder if i can use MS SQL Express - here is the list of it's limitations:
Despite the cpu usage, i wonder if this 1 GB of memory usage is enough. Can anyone tell me if this might be enough, or maybe give me some examples when this 1 GB would be enough.
I have a website written in ASP.NET MVC (and that means, it runs on windows server), that i want to protect from tor users. I thought about setting up some rules on windows firewall to block tor incoming connections, or something like that. Does anyone have any advices maybe? I would be very grateful.