Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Setting up Apache

Options
  • 12-04-2004 5:18pm
    #1
    Registered Users Posts: 3,548 ✭✭✭


    Ok, Ive downloaded Apache im trying to get it running, i wanna do some PHP and MySql stuff. When IM installing it, it is asking me for some DNS stuff,

    Network Domain. Enter the DNS domain in which your server is or will be registered in. For example, if your server's full DNS name is server.mydomain.net, you would type mydomain.net here.

    Server Name. Your server's full DNS name. From the example above, you would type server.mydomain.net here.

    To be honest I havent a clue what this is and so I went with what was in the boxes. This was stuff about my Belkin router.

    The thing is when I start the server it says it cant bind the socket.

    Anyone know what I need to do


Comments

  • Closed Accounts Posts: 920 ✭✭✭elvis2002


    can't bind the socket means that Apache can't open the port cause its already in use!, Myabe you already have another server type program running? on the same port your trying to install apache onto.


  • Closed Accounts Posts: 140 ✭✭redhat_newbie


    Any one around guide me if i am wrong

    Stop a service which has acquired port 80 and restart your apache.

    netstat -a

    hope you have tinkered with httpd.conf file before running apache.

    http://localhost or http://localhost:80


    cheers,
    RHN


  • Registered Users Posts: 3,548 ✭✭✭Draupnir


    yeah i have gotten it working now and now my problem is it aint showing my files, just the page it shows when its connected properly.

    Ive edited the httpd.conf file already too.


  • Closed Accounts Posts: 7,563 ✭✭✭leeroybrown


    I presume you mean that you're seeing the standard index page that ships with Apache.

    What you need to do is change the DocumentRoot of the server to the base directory you want to use then restart apache. Don't go doing anything silly like setting it to the root directory of your server.


  • Registered Users Posts: 3,548 ✭✭✭Draupnir


    I finally got it workin at about 4 this morning, im sooo tired.

    Oh well, I get to have fun setting up MySQL and PHP tonight, and maybe Perl!


  • Advertisement
Advertisement