1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

how to change from localhost:80 to localhost

Discussion in 'Apache' started by radislav, Jul 5, 2006.

  1. #1
    hi
    can someone please advise how to set this, i need the website to open at localhost only and not by taping localhost:80 or the xx.xx.xx.xx:80 (ip + port)
    many thanks in advance
     
    radislav, Jul 5, 2006 IP
  2. sreyas

    sreyas Well-Known Member

    Messages:
    128
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    108
    #2
    Could you please shred more light on this, what server are you using apache/ windows??
     
    sreyas, Jul 21, 2006 IP
  3. noppid

    noppid gunnin' for the quota

    Messages:
    4,246
    Likes Received:
    232
    Best Answers:
    0
    Trophy Points:
    135
    #3
    127.0.0.1:80
     
    noppid, Jul 21, 2006 IP
  4. sunday

    sunday Peon

    Messages:
    28
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    To allow only localhost to access the website put the following lines in your httpd.conf

    Order deny,allow
    Deny from all
    Allow from localhost

    Browser knows which port is used for http. Try
    http:// localhost/ in your browser.
     
    sunday, Jul 23, 2006 IP