Results 1 to 4 of 4

Thread: host 2 sites on one server

  1. #1
    Join Date
    May 2014
    Beans
    4

    host 2 sites on one server

    I have sucessfully setup the 2 virtual servers for my sites but now i need to know how to get their domains to point to the right place please help.
    Thank You
    KD8MST

  2. #2
    Join Date
    Sep 2006
    Beans
    8,627
    Distro
    Ubuntu 14.04 Trusty Tahr

    name-based virtual hosts

    You want to set up name-based virtual hosts in your web server. Both domains can point to the same ip number. Are you using Apache2 or nginx? And which version of Ubuntu are you using? The defaults are a little different in 14.04.

  3. #3
    Join Date
    May 2014
    Beans
    4

    Re: name-based virtual hosts

    Using Apache2 and 14.04

  4. #4
    Join Date
    Sep 2006
    Beans
    8,627
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: host 2 sites on one server

    I guess you have the DNS entries all set. That would depend on your registrar anyway.

    Have you had a look at the 14.04 server guide's section on Apach2 name-based virtual hosts?

    https://help.ubuntu.com/14.04/serverguide/httpd.html

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •