Results 1 to 2 of 2

Thread: Can not connect to Apache Server

  1. #1
    Junior Member
    Join Date
    May 2009
    Posts
    42

    Default Can not connect to Apache Server from DNS-Spoof Victim

    Hi I am having some trouble with my Apache servers on both BT3 (hard disk install ) and BT4 (VMWARE). When I start I get the following error
    Code:
    bt ~ # apachectl start
    httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
    I can access the basic "it works" page from firefox and from a seperate windows machine on the LAN the problem comes when I try out DNS spoofing via ettercap, I got APR going with no probs but the DNS spoofing (ie the basic test built into the file of redirecting microsoft.com to my webserver) won't work. After a pause it redirects to the real microsoft homepage can anyone advise?

    thx

    ---UPDATE---
    May be more a problem with ettercap than Apache. I can also not redirect the microsoft page to anywhere else (linux page etc) has anyone else had this problem?

  2. #2
    Just burned his ISO
    Join Date
    May 2009
    Posts
    14

    Default

    You can set a FQDN in the /etc/hosts file.

    Example:

    127.0.0.1 localhost
    192.168.0.10 myserver.example.com myserver

Posting Permissions

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