|
As a web developer, you should absolutely host your own website. I can think of a few good reasons for doing so:
0: The experience of configuring and maintaining a web server.
1: You can use third-party or custom libraries.
2: It's much more convenient to work with local files and databases.
On the downside, there is the issue of security and backups. If you host your own site, you should be prepared for attacks from the outside world. Follow best practices for security...rename/disable the Administrator account, use strong passwords, etc...
You may want to look into IIS 8 Express to replace the 7.5 that comes with Win7. It's a little faster and has some extra security features.
I have one site web hosted and one self hosted. The web hosted site is mostly static pages and links to downloads. (the heavy lifting) The self-hosted site serves out around 20 customer reporting applicatios and demos. Good luck!
"Go forth into the source" - Neal Morse
|
|
|
|
|
Also free hosts can be helpful
/* LIFE RUNS ON CODE */
|
|
|
|
|
can C/C++ display images in windows OS ?
|
|
|
|
|
Yes. But what does this have to do with "Hosting and Servers"?
Use the best guess
|
|
|
|
|
Programming the Windows event loop in C is joyous fun akin to tearing a half healed scab off. You get two 32 bit messages of which you use parts to see who sent the message and what values are in it. Then you repond in kind. I recommend doing it that way. We don't need no stinkin C++ for that even though millions of images were displayed in Windows Apps using C++.
|
|
|
|
|
I have a hosting service at Database Mart. I'm testing a new Asp.Net Website. The server is giving me an "HTTP Error 503. The service is unavailable". The service had assured that the server is up at a 99.99% of the time. I tried to load a simple .htm file to ensure that the error is not originated from Asp.net. But I still cannot find a solution. Does somebody here know a better way to debug such error?
Michel
IT Specialist
|
|
|
|
|
|
hey !
its a question to me, can we use our pc as a virtual server!?
for more details i must say , i made a chat windwos application include 2 part, server and client ! well i want know can i put server part in my pc and give client to my friend, then my pc play virtual server role and client connect to my pc and act with the server part that is in my pc(virtual server) .
if we can do this, then how?
very thanks all!
|
|
|
|
|
Assuming your server and client can communicate across the internet then it should work.
Use the best guess
|
|
|
|
|
It's just a regular server-client setup, all you need is for the client to have the IP address of the server and to have the ports used available and unrestricted (firewalls in between might block).
|
|
|
|
|
so you think just should set ip server in client part, as my own ip?
i tried it ... no resault!
i found must have a valid ip, but i dnt know how provide a valid ip also how set it on my pc!
|
|
|
|
|
Usually when you pay for internet service, your ISP sets your IP address and you can't really change it (most of the time it's not really static either so it might change every now and then), you can visit certain websites to see what your external IP address is.
|
|
|
|
|
i know whats my ip adress, and i knew ip can be eithier static or dynamic !
im tryin to say that when in my tcp client application i set my ip for endpoint, it doesnt connect to my pc!
|
|
|
|
|
No need to use exclamation points, it's not my fault you can't express yourself clearly and I'm only helping you out of the kindness of my heart so be polite.
- Check to make sure the route exists.
- Make sure ports aren't being blocked.
- Check logs on firewalls and the application.
|
|
|
|
|
i did not shout on you body!anyway i am sorry if i did not talk well!
thanks for your guidance!
|
|
|
|
|
Too much of exclamation points in lieu of periods and commas send a wrong signal/message.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep!
|
|
|
|
|
How can i block internet access of some clients and allow to some with windows firewall?
|
|
|
|
|
Can you clarify what you're trying to accomplish. Your question doesn't really make sense as to your setup and what it is exactly you're trying to accomplish.
Do you have a server that people access over the internet? If so, what services does your server provide? In this scenario, yes, you can allow certain IP addresses through your firewall and block everyone else but depending on your service, you can also do it at the application layer.
|
|
|
|
|
For PPTP, I know I need to open port 1723, but the error message I'm getting when trying to connect says I need to enable GRE (Generic Routing Encapsulation.)
Does this mean opening an additional port? And what port would that be?
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
No it's not a port, GRE is a protocol just like TCP. And where TCP is number six and UDP is seventeen, GRE is number 47[^].
You need to dig into the manual of your firewall to find out how to enable that protocol
"The ones who care enough to do it right care too much to compromise."
Matthew Faithfull
|
|
|
|
|
Thanks!
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
I don't know if this is right place to ask but I did not saw any better.
Maybe someone with high demand web sites experience can tell me where is factor for concurrent connection to IIS, when it finally give up and fails? I read some time ago that on web there is 10k problem, when any HTTP server on the market cannot handle that. It is to much IMHO for corporate complex web apps with 3 tiers and high MSSQL usage. I have found that this is approximately 1000 connections at the same time, but it still seems like too much. I cannot imagine 1000 CRUD sqls on MSSQL. Usually for single HTTP requsts there is at least 3 sql requests, usually more. So how much connection web app would handle? 100? Seems more likely, but still in my prevoius work, there was application that had hard time providing for few dozens users and abviously they not always requaired server to do something.
Any one has experience with the point when you start to need not 1 but 2 IIS servers?
No more Mister Nice Guy... >: |
|
|
|
|
|
IIS is not "limited" to a certain number of connections, and SQL Server should not run out of them; there's a pool, and processing is halted until there's an item available from the pool.
What caused this question? Performance-problems, or concurrency-problems?
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Primarily lack of knowledge about this topic.
Secondly is requirement of new project: it has to be prepared to work on IIS web farm. I know that load balancing make sense with high-load applications. This is the reason for this question. Where is threshold for IIS when you have to switch from 1 web server to 2 or more to maintain high response times under high-load. I suspect this is dependent from complexity of code, so let's assume that it is complex and not optimal.
Also I know that IIS and MSSQL have no hardcoded limit of, lets say 101 connections, and when 102 users decide to open page, it's gonna say to him: 'no way dude!' and gonna send HTTP Code - Service Unavailable.
But there have be some kind of queue of connections and when this queue will be adding more requests then server can handle it's gonna shut itself down eventually, right?
I don't want to know exact number as it is impossible without proper stress testing of whole environment, but just a factor should be enough. Is it 10? 100? 1000? 10k?
I heard about 10k problem before but I don't know if this still an issue with all this xCore xGHz x0GB RAM server as we have now, and sources are dated: http://en.wikipedia.org/wiki/C10k_problem[^]
No more Mister Nice Guy... >: |
|
|
|
|
|
n.podbielski wrote: I suspect this is dependent from complexity of code, so let's assume that it is complex and not optimal.
It's also dependent on the hardware (server and network), some IIS-settings, the "size" of your average file, and the general state of your servers' OS.
n.podbielski wrote: But there have be some kind of queue of connections and when this queue will be adding more requests then server can handle it's gonna shut itself down eventually, right?
AFAIK, it doesn't shut down. If the client doesn't get a response within a set time, he'll get a time-out. Just like in a DDOS-attack, so to speak. The server processes what it can, within the limits of it's hardware.
n.podbielski wrote: I heard about 10k problem
I didn't, so I'm gonna shut up and hope that some other reader can contribute some insight into the topic.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|