Config Apache use multi subdomain

Discussion in 'PHP' started by hehegame, Mar 24, 2012.

  1. #1
    Current I need config apache to use multi subdomain like website: softonic.com
    Please help me some solution.

    Any way can config to test on localhost? (use wamp server or vertrigo server)

    Thanks share
     
    hehegame, Mar 24, 2012 IP
  2. phapit

    phapit Peon

    Messages:
    26
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    It's definitely possible. If you're on a windows machine you can just edit your hosts file to map your desired domains that you're configuring your server to your localhost. Google "hosts file windows" for more info. As for the apache config, there is a wealth of info out there. Do some reading.
     
    phapit, Mar 24, 2012 IP
  3. hehegame

    hehegame Peon

    Messages:
    54
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    If you can, please let more detail to config httpd.inf (file config apache).

    Thanks
     
    hehegame, Mar 25, 2012 IP
  4. Alex Roxon

    Alex Roxon Active Member

    Messages:
    424
    Likes Received:
    11
    Best Answers:
    7
    Trophy Points:
    80
    #4
    Sounds like you're asking how to set up virtual host files? You'd be better off googling the software you're using and your platform (I.e. 'configure virtual host WAMP Windows'. I've personally never done it with WAMP, but i'de imagine it would be very straightforward).
     
    Alex Roxon, Mar 26, 2012 IP