Apache Error Server Not Found
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business localhost error 404 xampp Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation
The Requested Url Was Not Found On This Server Apache2
Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just
Apache 404 Error On A File That Exists
like you, helping each other. Join them; it only takes a minute: Sign up 404 Not Found with Apache server up vote 2 down vote favorite 1 I am trying to get my website setup and whenever I
404 Error In Apache Tomcat
try to use my domain name to connect I get "404 Not Found" When I try and reach the site with my IP it works fine. I am on Debian x64. Can someone please help me get this resolved. If you need more information just ask. Httpd.conf Apache2.conf apache http-status-code-404 share|improve this question edited Nov 28 '12 at 9:33 Arnestig 1,231822 asked Nov 22 '12 at 6:04 Nicholas Brown 11113 @Arnestig: You don't 404 not found apache2 ubuntu know if the problem actually is debian specific or not. –Stefan Steinegger Nov 28 '12 at 9:35 @StefanSteinegger: Well we don't know if this problem is caused by a hardware issue, software issue or some other problem. It's good that Nicholas Brown informs us that he's running on Debian x64, but the question itself is not related to Debian. He's not asking a question regarding how Debian works / behaves etc. This question is entirely directed at getting apache up and running. Therefore the tag "apache". –Arnestig Nov 28 '12 at 9:37 @Arnestig: good points. –Stefan Steinegger Nov 28 '12 at 9:40 add a comment| 3 Answers 3 active oldest votes up vote 2 down vote Where do you have your website ? On local network or on a hosting service provider? In any case you need to add your web-server ip to the DNS server (either local or www) depending upon your requirements, without knowing where your webserver is local or global it is difficult to give you an answer share|improve this answer answered Nov 22 '12 at 6:20 ajet 365313 Good point. I didn't even consider the DNS settings, but that should be looked at as well. –Kenzo Nov 22 '12 at 6:24 My site is on a providers VPS. –Nicholas Brown
Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About apache error codes Us Learn more about Stack Overflow the company Business Learn more about hiring http error 404. the requested resource is not found. developers or posting ads with us Server Fault Questions Tags Users Badges Unanswered Ask Question _ Server Fault is a 404 not found error question and answer site for system and network administrators. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are http://stackoverflow.com/questions/13506716/404-not-found-with-apache-server voted up and rise to the top Virtual Host - Server not found up vote 3 down vote favorite I'm running different websites on my webserver using Apache VirtualHosts. Now I have troubles getting one site to work. When I browse to the site in Firefox it says "Firefox can't find the server at www.mydomain.com", even though it's spelled correctly. Further traceroute and ping both resolve to http://serverfault.com/questions/294847/virtual-host-server-not-found the correct IP, so I doubt it is because of a DNS issue. I copied the VirtualHost-config file from a working site and just changed the domains and path on the server, which is existent. Further I checked that the site is enabled (with a2ensite), restartet apache, reloaded apache, but it is still not working. Here's my VirtualHost-File:
Get Kubuntu Get Xubuntu Get Lubuntu Get UbuntuStudio Get Mythbuntu Get Edubuntu Get Ubuntu-GNOME Get UbuntuKylin Ubuntu Code of Conduct Ubuntu Wiki Community Wiki Other Support Launchpad Answers Ubuntu IRC Support AskUbuntu Official Documentation User Documentation Social Media https://ubuntuforums.org/showthread.php?t=2224028 Facebook Twitter Useful Links Distrowatch Bugs: Ubuntu PPAs: Ubuntu Web Upd8: Ubuntu OMG! Ubuntu Ubuntu Insights Planet Ubuntu Activity Page Please read before SSO login Advanced Search Forum The Ubuntu Forum Community Ubuntu Official Flavours Support New to https://www.digitalocean.com/community/tutorials/how-to-configure-apache-to-use-custom-error-pages-on-ubuntu-14-04 Ubuntu [SOLVED] 404 not found when trying to access http://localhost/info.php after setting up LAMP Having an Issue With Posting ? Do you want to help us debug the posting issues ? < is the place to report it, not found thanks ! Results 1 to 7 of 7 Thread: 404 not found when trying to access http://localhost/info.php after setting up LAMP Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode May 14th, 2014 #1 thirdnipple View Profile View Forum Posts Private Message Spilled the Beans Join Date Jul 2012 Beans 13 404 not found when trying to access http://localhost/info.php after setting up LAMP I 404 not found have tried to install Apache, mySQL, and PHP on Ubuntu 14.04. I can access local host in my browser and I get the default Apache page, which say "It Works!", but when I try to go to http://localhost/info.php I get the 404 error: Not Found The requested URL /info.php was not found on this server. Apache/2.4.7 (Ubuntu) Server at localhost Port 80 this is what's in my info.php file: PHP Code:
Any help would be appreciated. Last edited by thirdnipple; May 14th, 2014 at 05:34 PM. Adv Reply May 14th, 2014 #2 alket View Profile View Forum Posts Private Message Frothy Coffee! Join Date Apr 2007 Location Prishtina, Kosovo Beans 192 DistroKubuntu 14.04 Trusty Tahr Re: 404 not found when trying to access http://localhost/info.php after setting up LA Where did you put that file ? Did you change DocumentRoot ? Adv Reply May 14th, 2014 #3 thirdnipple View Profile View Forum Posts Private Message Spilled the Beans Join Date Jul 2012 Beans 13 Re: 404 not found when trying to access http://localhost/info.php after setting up LA The file is in /var/www/ I have not changed DocumentRoot. How would I do that? Adv Reply May 14th, 2014 #4 Doug S View Profile View Forum Posts Private Message Visit Homepage Ubuntu Member
In submit Tutorials Questions Projects Meetups Main Site logo-horizontal DigitalOcean Community Menu Tutorials Questions Projects Meetups Main Site Sign Up Log In submit View All Results By: Justin Ellingwood Subscribe Subscribed Share Contents Contents We hope you find this tutorial helpful. In addition to guides like this one, we provide simple cloud infrastructure for developers. Learn more → 6 How To Configure Apache to Use Custom Error Pages on Ubuntu 14.04 Posted Jun 9, 2015 44.7k views Apache Ubuntu Introduction Apache is the most popular web server in the world. It is well-supported, feature-rich, and flexible. When designing your web pages, it is often helpful to customize every piece of content that your users will see. This includes error pages for when they request content that is not available. In this guide, we'll demonstrate how to configure Apache to use custom error pages on Ubuntu 14.04. Prerequisites To get started on with this guide, you will need a non-root user with sudo privileges. You can set up a user of this type by following along with our initial set up guide for Ubuntu 14.04. You will also need to have Apache installed on your system. Learn how to set this up by following the first step of this guide. Creating Your Custom Error Pages We will create a few custom error pages for demonstration purposes, but your custom pages will obviously be different. We will put our custom error pages in the /var/www/html directory where Ubuntu's Apache installation sets its default document root. We'll make a page for 404 errors called custom_404.html and one for general 500-level errors called custom_50x.html. You can use the following lines if you are just testing. Otherwise, put your own content in these locations:
- echo "
Error 404: Not found :-(
" | sudo tee /var/www/html/custom_404.html - echo "
I have no idea where that file is, sorry. Are you sure you typed in the correct URL?
" | sud