LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-23-2016, 11:45 PM   #1
wh33t
Member
 
Registered: Oct 2003
Location: Canada
Posts: 922

Rep: Reputation: 61
Question Can't seem to find default index.html file? Ubuntu LAMP


Hey LQ,

I've got a small server running off of a home adsl connection. I'm currently trying to get it setup for https (which I think I've got working properly) and for some reason when visiting the site through regular http I'm given the default apache "It works" Apache2 Ubuntu Default Page. I only have one virtualhost set (I a2dissite'd the defaults) and yet this default page is still being served.

I've also deleted it from /var/www/html which is where the virtualhost points to for document root and yet its still being served!

How is Apache2 still loading this html page?

Code:
wh33t@wh33tserv:/etc/apache2$ ls sites-enabled/
wh33t.conf
Code:
wh33t@wh33tserv:/etc/apache2$ sudo nano sites-enabled/wh33t.conf
Code:
Listen 81
<VirtualHost *:81>
    DocumentRoot "/var/www/html/"
    ServerName wh33tserv

    # Other directives here
    SSLEngine on
    SSLCertificateFile /etc/ssl/crt/wh33tserv.crt
    SSLCertificateKeyFile /etc/ssl/crt/wh33tserv.key
</VirtualHost>
Any ideas?
 
Old 06-24-2016, 02:45 AM   #2
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu, mint, suse
Posts: 1,591

Rep: Reputation: 145Reputation: 145
Maybe it is simply cached by the browser?
 
1 members found this post helpful.
Old 06-24-2016, 03:35 AM   #3
wh33t
Member
 
Registered: Oct 2003
Location: Canada
Posts: 922

Original Poster
Rep: Reputation: 61
Quote:
Originally Posted by j-ray View Post
Maybe it is simply cached by the browser?
Well don't I feel stupid. That solved it. I thought I had that disabled in my browser lol. Guess not.

Thanks for chiming in.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
/srv/www/htdocs/index.html content opensuse apache/lamp/cacti test server 127.0.0.1 Glenn D. Linux - Software 1 09-17-2013 02:30 AM
changeing default document from index.html in apache thebover Linux - Software 3 03-30-2005 09:26 PM
How to change the default index.html in Apache bngrhl Linux - Newbie 2 06-08-2004 01:47 PM
Apache won't default to index.html TexasDex Linux - Software 5 04-05-2004 08:33 AM
Konqueror + file:/usr/share/doc/HTML/index.html jon_k Linux - Software 2 11-25-2003 05:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration