i have just installed apache2 on my ubuntu shell,..but when i'm trying to test apache on my server with a command
http://localhost/apache2-default/
it's showing server not found...
what should i do???
need help!!!
i have just installed apache2 on my ubuntu shell,..but when i'm trying to test apache on my server with a command
http://localhost/apache2-default/
it's showing server not found...
what should i do???
need help!!!
You can check if apache is running by writing
ps aux | grep apache
in your shell.
If apache is not running you can start it with either
apache2ctl start
or
/etc/init.d/apache2 start
did you start the server by using 'apachectl' command? assuming you did, go to the shell and type,
ps -ef | grep httpd
If you can see a process named 'httpd' running then the installation works. And there might be some error in the url you are using.
hey that one is working now....but starting the apache is giving an error
Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
i thought that i need to make change to httpd.conf file ,...but i'm not able to do so ...
can someone explain how to do that