: Setting up a server at home to host a Webservice created using .NET I am presently working on localhost. I have created few web services(.asmx) using Visual Studio 2008 and .NET Framework 3.5.
I am presently working on localhost. I have created few web services(.asmx) using Visual Studio 2008 and .NET Framework 3.5.
At the same time I have a mobile application (client) that consumes these web services.
Now I plan to make these web services public by hosting them on a home server.
I need to set up a home server for that purpose. I have a Windows 2003 Server CD with me.
I want to know how do I configure the server so that I can host my web services? What requirements are necessary for set up?
Also since my database would be SQL Server 2003 or later, how can I manage it once I have set up my server?
More posts by @Dunderdale272
1 Comments
Sorted by latest first Latest Oldest Best
Keep in mind you can always use a hosting provider to accomplish what you want, but if you prefer to host from home there are a few hurdles to consider.
You have to make sure your ISP does not block port 80. It used to be a common practice amongst ISPs, but I don't think they do it anymore. If they do block it, you could host on a different port, but that has its limitations.
You'll have to register a public domain name and point it to your internet IP address.
If you do not have a fixed IP address from your ISP, then you will want to use a dynamic DNS service like dyn.com. This costs per year. I'm sure there are other providers as well. If you don't use dynamic DNS and your internet IP address changes, you'd have to change the IP address in your DNS provider which can take up to 2 days to propagate across the internet. A dynamic DNS service provides a mechanism to detect when your IP address changes and update it on their end automatically.
You'll have to forward port 80 from your router to your internal web server. You'll forward port 443 as well if you use SSL.
Plan on having a dedicated machine to host your service. You'll probably want to purchase a UPS for the machine, otherwise plan on lots of outages.
This is all I can think of off hand. Hosting from home has a few advantages, but it is not without its headaches.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.