View Full Version : Difference between URL styles

04-27-2011, 07:37 PM

I am trying to understand the difference between the following addresses (fictitious).

a. Are those URLs pointing to different websites or have they named their subdirectories differently?
b. Are these websites using different technology?
c. What is the advantage of an https site over the regular http here? Note that these are not ecommerce websites.

1. https://ABC.com/irhome.cfm
2. http://investor.ABC.com/Investor-Relations/default.aspx
Where can I read more on this stuff?


04-27-2011, 07:44 PM
The differences? If you mean the extensions, then one is a coldfusion site(cfm) the other is ASP.net site(aspx).

Yes different server-side languages.

https denotes a secure website by means of a security certificate(SSL).

As far as being different sites. I think yes its the same site with a subdirectory. not 100% sure about that though, since I've not dealt with that much.

04-27-2011, 09:50 PM
a. URL 2 contains what is called a subdomain. In this case 'investor' is a subdomain of ABC.com. The contents of the subdomain may be a subdirectory of the main domain (investor.abc.com == abc.com/investor/) - some web hosts are set up to support this technique by default. More likely the contents of the subdomain are not in the main domain's directory hierarchy but in a separate area of the server, or possibly even another server (even one at a different physical location entirely).

Subdomains: What's a subdomain? | Web Hosting for Beginners (http://www.forbeginners.info/web-hosting/subdomains.htm)
Subdomain Configuration - How To Setup A Sub Domain - WebsiteGear (http://content.websitegear.com/article/subdomain_setup.htm)

b. teedoff answered this one pretty well. Again, these may be using Coldfusion and ASP.net on the same physical server or they may be two different servers running two different operating systems. The technology (language) of the resource in the URL is not necessarily the only one at play - there are likely database technologies behind the scenes that you won't ever see a reference to in the view-source for a page.

Server-side scripting - Wikipedia, the free encyclopedia (http://en.wikipedia.org/wiki/Server-side_scripting)

c. Even if you don't do ecommerce, you might want to use SSL if the site will contain user accounts that are accessed via password login. On a plain http:// connection, text data from forms is sent unencrypted, including passwords (the asterisks/bullets in the password field only mask the text on screen). On a secured connection via https:// all form data is sent encrypted.

How does SSL work? Easy to understand SSL Certificate and HTTPS (http://www.ourshop.com/resources/ssl.html)

04-28-2011, 09:58 PM
Thanks folks.