Implications of subdomain vs. subfolder for web services

G

Guest

Hello,

I have a couple web services that I use across my apps. My isp supports
exposing them either via subdomain (e.g. services.mydomain.com) or subfolder
(e.g. mydomain.com/services). Are there any implications for doing it one way
versus another? Performance? Security?

Thanks,

Bill
 
C

cbDevelopment

There will be no performance difference, but having the services as a
subdomain gives you more flexibility with security and scalability.

With a subdomain, you could move the services to whole different physical
server. You could do the same with a virtual directory, but you'd lose
performance because IIS would have to reroute all traffic to a remote
server.

A subdomain is a unique web site in IIS so it can have unique settings
for performance, caching, authentication, logging, etc.

Plus subdomains look more professional.
 
G

Guest

Very helpful...thanks for the thorough response.

cbDevelopment said:
There will be no performance difference, but having the services as a
subdomain gives you more flexibility with security and scalability.

With a subdomain, you could move the services to whole different physical
server. You could do the same with a virtual directory, but you'd lose
performance because IIS would have to reroute all traffic to a remote
server.

A subdomain is a unique web site in IIS so it can have unique settings
for performance, caching, authentication, logging, etc.

Plus subdomains look more professional.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top