Pointing multiple urls to same location on server

Discussion in 'Web Hosting and Domain Names' started by numbenator, Sep 30, 2012.

to remove all ads.
  1. numbenator

    numbenator New Member

    Messages:
    4
    Hi there

    I have a number of domains that all point to the same server

    ie

    www.octopus.com
    octopus.com
    octopus.co.uk
    octopus.org

    etc etc

    How do i tell apache that they all point to the same directory?
     
  2. chrishirst

    chrishirst Well-Known Member Staff Member

    Messages:
    2,662
    The quick answer is to add them all as virtual hosts that share the same root directory. However:

    Using what control panel?
    Shared hosting?
    Dedicated box?
    Virtual Machine (VPS)?
    Reseller account?
    Linux Apache?
    Windows & IIS?
    Windows & Apache?
    and so on.
     
  3. numbenator

    numbenator New Member

    Messages:
    4
    Redhat
    linux apache
     
  4. Edge

    Edge Member

    Messages:
    461
    To make sure you aren't being penalised for duplicate content by Google at al you should use a 301 permanent redirect from all but one of them to the remaining one.
     
  5. VPSblast

    VPSblast New Member

    Messages:
    12
    Try narrowing your list of options by looking at the cheapest web host package that can meet your needs at the same time. Do not compromise what had been planned about for the web site just to meet the level of what can just be offered with the cheap web hosting package.
     

Share This Page