Click here to Skip to main content
15,883,894 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Good Evening,

I need to know what are the requirements for hosting my WCF web services in real time.

I have purchased a VPS and it have a dedicated IP. Do I need to purchase a separate domain??

Please help me to know all my requirements.

Thank you.
Posted

1 solution

No need to purchase dedicated domain..until you like to access WCF service with it. or Just IP will do.
Have a look in steps given here:
http://stackoverflow.com/questions/1712778/how-do-i-host-a-wcf-service-on-the-internet[^]

1. I am assuming that you have made a working WCF application and hosted over the IIS.
2. The next thing to do is to browse the application from the IIS. It will give you url in the address bar something like: http://localhost/myservice/service.svc
3. Next go to www.whatismyip.com. this will give you your system's WAN IP (say, 45.34.56.200).
4. Replace the URL you got in step 2 with: http://45.34.56.200/myservice/service.svc
5. Now you can use this URL any where in this world to consume your service.

Hope this will help. Thanks.
 
Share this answer
 
v2
Comments
Dharanya K 29-Jan-15 0:28am    
Thank you. In my local system I hosted the WCF service in IIS by just creating a website and it worked out well. Now In the actual VPS server I dont know how to upload my WCF service. Please Guide me or send any tutorial links.
Snesh Prajapati 29-Jan-15 2:02am    
It may vary little based on VPS used...but in VPS you can have IIS and host service in same way. Thanks.
Dharanya K 29-Jan-15 2:10am    
When I opened the IIS it just showing the startup page. cannot able to connect to localhost. How to connect to localhost?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900