I have been researching and trying to solve this issue for few days without success.
I have a WCF webservice deployed on IIS 8 on windows server 2012.
during development, I have been using the full url for the service in order to make the service calls.
example:
http://myserver.com/appservices/service1.svc/getdata
But now I need to do the following:
I have a domain on godaddy, lets say somedomain.com, and I want to have a subdomain services.somedomain.com to use instead of the full url. So I want to have something like
services.somedomain.com/getdata
instead of writing the full url above. I was not able to do this. I tried to setup URL Forwarding on Godaddy for the subdomain services to forward tohttp://myserver.com/appservices/service1.svc
, this works on the browser, but when using it on the mobile application or through fiddler I get a 301 error. (I tried both with and without masking). Is there a way to achieve that?I need to get an SSL certification for it. My question here is, for which domain should I get it? do I get it for the somedomain.com or for the subdomain services.somedomain.com or maybe for the original domain myserver.com. I'm a bit lost here, and I don't want to buy and ssl certificate on the wrong one
To give you an overall idea of the final result I'm hoping to get, I need to have the following:
somedomain.com points to a website deployed on iis
services.somedomain.com points to a wcf webservice deployed on the same iis, and it will be used for services that will be called from android/iphone. And this needs to have an SSL Certification
I have bought somedomain.com from godaddy
Thanks a lot for any hint/help I really appreciate it