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.

Need help...

Discussion in 'Apache' started by just_starting, Nov 1, 2005.

  1. #1
    Hi,
    I have an apache server running on a machine with settings in httpd.conf:
    Listen 1.2.3.4:80
    Now I want to assign a domain name 'www.xyz.com' to it.So I put the
    servername as 'www.xyz.com' in the httpd.conf file.Now when I access
    'www.xyz.com' from browser, it works fine. But the problem is that it
    is showing http://1.2.3.4/ instead of my domain name in the addressbar.
    Any idea what is happening here.
    With regards.
     
    just_starting, Nov 1, 2005 IP
  2. frankm

    frankm Active Member

    Messages:
    915
    Likes Received:
    63
    Best Answers:
    0
    Trophy Points:
    83
    #2
    You must also alter the ServerName line, that's probably also set to 1.2.3.4 or not set at all.

     
    frankm, Nov 1, 2005 IP
  3. just_starting

    just_starting Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I have done that buddy:( ...but still having that prob...
     
    just_starting, Nov 1, 2005 IP