Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 524
  • Last Modified:

WCF Service stop working on SubDomains

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
aplusexpert
Asked:
aplusexpert
1 Solution
 
Amandeep Singh BhullarCommented:
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
 
aplusexpertAuthor Commented:
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

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now