Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Hosting and Servers
  4. websites and domains and subdomains

websites and domains and subdomains

Scheduled Pinned Locked Moved Hosting and Servers
csharpdatabasewinformscomhosting
2 Posts 2 Posters 5 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    Dell Simmons
    wrote on last edited by
    #1

    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.

    N 1 Reply Last reply
    0
    • D Dell Simmons

      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.

      N Offline
      N Offline
      Nagy Vilmos
      wrote on last edited by
      #2

      The URI is constructed as : <scheme name> : <hierarchical part> [ ? <query> ] [ # <fragment> ]; see here[^]. In your example The domain is mywidgets.com with the server called www. 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

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups