Solved

WCF Service stop working on SubDomains

Posted on 2010-09-04
2
498 Views
Last Modified: 2012-08-13
Question: I have created WCF service which is successfully running in domain like www.test.com. However, I have shifted to subdomain i.e. "test.test.com" and the service has stopped working. Whenever I try to run the service it gives error "Resource not found."

Please remember that my application is hosted on shared hosting (goDaddy.com).

Thanks.
0
Comment
Question by:aplusexpert
2 Comments
 
LVL 19

Expert Comment

by:Amandeep Singh Bhullar
ID: 33602899
Have you check with the simple static page on the server

Check as
1. Put a simple html page in directory say(a.html)
2. Open this in the Browser as http://test.test.com/a.html

If you get the same error, then you are placing the file in the wrong folder.
0
 
LVL 7

Accepted Solution

by:
aplusexpert earned 0 total points
ID: 33608930
We have solved the problem at own.

We have one domain and a more than one sub-domains. Sub-domain's directories resides in root directory of main domain.

i.e

Domain www.testsite.com
Root directory :testsite.com
Sub-Domain test.testsite.com
Sub directory :testsite.com/test

We have used www.testsite.com/test for get the WCF Service insted of test.testsite.com

Thanks for reply.
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In an ASP.NET application, I faced some technical problems. In this article, I list them out and show the solutions that I found.  I hope it will be useful. Problem: After closing a pop-up window, the parent page should be refreshed automaticall…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

822 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question