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. Multiple sites

Multiple sites

Scheduled Pinned Locked Moved Hosting and Servers
questionsysadminlinuxhostingtutorial
3 Posts 3 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.
  • L Offline
    L Offline
    loctrice
    wrote on last edited by
    #1

    How do I approach hosting multiple sites from one server? For instance, if I were to offer to host another website at my server along with mine. How do I handle the domain name if I only have 1 IP and 1 server? I wouldn't want them to use a sub domain, but be able to use their own domain name. I'm using a linux server, and I have 1 static IP address. I'm not actually doing this, but I'm very curious on how to do it. I hope my question is clear, I'm not entirely sure what to ask yet.

    If it moves, compile it

    R A 2 Replies Last reply
    0
    • L loctrice

      How do I approach hosting multiple sites from one server? For instance, if I were to offer to host another website at my server along with mine. How do I handle the domain name if I only have 1 IP and 1 server? I wouldn't want them to use a sub domain, but be able to use their own domain name. I'm using a linux server, and I have 1 static IP address. I'm not actually doing this, but I'm very curious on how to do it. I hope my question is clear, I'm not entirely sure what to ask yet.

      If it moves, compile it

      R Offline
      R Offline
      R Giskard Reventlov
      wrote on last edited by
      #2

      These links[^] may set you off in the right direction.

      "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair. nils illegitimus carborundum me, me, me

      1 Reply Last reply
      0
      • L loctrice

        How do I approach hosting multiple sites from one server? For instance, if I were to offer to host another website at my server along with mine. How do I handle the domain name if I only have 1 IP and 1 server? I wouldn't want them to use a sub domain, but be able to use their own domain name. I'm using a linux server, and I have 1 static IP address. I'm not actually doing this, but I'm very curious on how to do it. I hope my question is clear, I'm not entirely sure what to ask yet.

        If it moves, compile it

        A Offline
        A Offline
        AspDotNetDev
        wrote on last edited by
        #3

        This shows how to do that in Apache. However, for Windows what I have done is host my website on Azure with Umbraco as the CMS. Umbraco allows you to set pages to be served up based on the incoming requested domain. And you can point multiple domains to that single Azure/Umbraco instance. So it's really one website (all running the same DLL's and using the same memory and such), but the returned content is different depending on the URL requested. Since you are using Linux and assuming want the sites to be somewhat autonomous, then the link above is probably your best bet.

        Thou mewling ill-breeding pignut!

        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