Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am really a programmer and new to web development field. I am tasked with creating a web service which must be publicly hosted (on internet) and which one of your application will use when needed.

I have developed the web service (using ASP.NET/WCF) and have tested it by hosting it on one of the server in INTRANET. The service uses a database which MUST be installed in organisation intranet only (some sensitive data). I am now confused as how to proceed to host it on internet. Please can you guide about the steps I need to perform?

share|improve this question
up vote 1 down vote accepted

If it's been tested and you're happy with it working then you need to work with your security folk to have connections to it allowed through the firewall on HTTP / HTTPS.

If you're doubling as the security folk, then what I would recommend is to put it in a DMZ off of your firewall, keeping the database server inside the firewall. You would then need to create an incoming path for the database connections from your DMZ web server (that hosts the web service) through the internal interface of the firewall to your db server.

If you post more details regarding the technologies you're using (MySQL / MS SQL, are you the security person, etc) then more details can be provided on how to implement this.

share|improve this answer
I am using SQL Server 2008 Express edition as database server. I am not a security person or network administrator so honestly, I didnt understand the term DMZ. Please can you elaborate a bit? – Hemant May 21 '09 at 17:23
Oh! and thanks for the earlier answer :) – Hemant May 21 '09 at 17:23
Ok, no problem. Can you please edit your question to include a little more information regarding your network setup? What are you using for a firewall? Will you be the one making the configuration change to allow access to the web service? – squillman May 21 '09 at 18:48

If you have successfully tested it on the intranet of your organisation then to expose it to the internet is relatively straight forward, you just need host the application on a publicy accessible server.

It is common to have publicly accessible site use a database back end which is hosted securely inside hte organisations firewall and have only the application access this database through a secure channel, therefore exposing as little as possible.

So basically to expose an application on the internet, all you need to is deploy it on an Internet accessible server, the same way as you hav done on the internet. Obviously as this is now available to all you need to make sure your site is secure and not going to expose the database to attack.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.