websites and domains and subdomains
-
I'm trying to understand this stuff: If I have a URL of 'www.mywidgets.com/smallwidgets', then smallwidgets is a subdirectory under the domain www.mywidgets.com. Is that correct? The 'smallwidgets' subdirectory is part of the www.mywidgets.com website. Is that correct? Can 'smallwidgets' be a separate website with it's own domain name and widget database and processing logic and etc? If I have a URL of 'www.mywidgets.smallwidgets.com', then smallwidgets is a subdomain of www.mywidgets.com. Is that correct? In this case, is smallwidgets a separate website? Can it be a separate web site with its own database/logic/etc if I have a domain name of www.smallwidgets.com and point it to www.mywidgets.smallwidgets.com? Do these questions make sense or am I still too confused to ask coherent questions? The reason I'm asking is I'm a hobby developer (C#, winforms) with a small business selling collectible stamps. I want a web presence (besides eBay), to expand the business and to expand my knowledge of web development. My budget is as close to zero cost as I can make it. I want (I think) at least two independent 'websites', say www.mystore.com for the public and www.mydevelopmentstore.com for just me, each with it's own SQL database. I'm having a terrible time figuring out what hosting I need to buy. It's obvious to me that if I buy two separate hosting plans I can do what I want, but I'm trying to figure out if I can get away with just one.
-
I'm trying to understand this stuff: If I have a URL of 'www.mywidgets.com/smallwidgets', then smallwidgets is a subdirectory under the domain www.mywidgets.com. Is that correct? The 'smallwidgets' subdirectory is part of the www.mywidgets.com website. Is that correct? Can 'smallwidgets' be a separate website with it's own domain name and widget database and processing logic and etc? If I have a URL of 'www.mywidgets.smallwidgets.com', then smallwidgets is a subdomain of www.mywidgets.com. Is that correct? In this case, is smallwidgets a separate website? Can it be a separate web site with its own database/logic/etc if I have a domain name of www.smallwidgets.com and point it to www.mywidgets.smallwidgets.com? Do these questions make sense or am I still too confused to ask coherent questions? The reason I'm asking is I'm a hobby developer (C#, winforms) with a small business selling collectible stamps. I want a web presence (besides eBay), to expand the business and to expand my knowledge of web development. My budget is as close to zero cost as I can make it. I want (I think) at least two independent 'websites', say www.mystore.com for the public and www.mydevelopmentstore.com for just me, each with it's own SQL database. I'm having a terrible time figuring out what hosting I need to buy. It's obvious to me that if I buy two separate hosting plans I can do what I want, but I'm trying to figure out if I can get away with just one.
The URI is constructed as :
<scheme name> : <hierarchical part> [ ? <query> ] [ # <fragment> ]
; see here[^]. In your example The domain ismywidgets.com
with the server calledwww
. Everything after the slash -smallwidgets
- must be served up by the web-site and that becomes implementation specific. You can use redirects to different sites without exposing it outside.
Panic, Chaos, Destruction. My work here is done. Drink. Get drunk. Fall over - P O'H OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett