LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 04-15-2016, 02:53 PM   #1
agarnoob
LQ Newbie
 
Registered: Apr 2016
Posts: 1

Rep: Reputation: Disabled
Unhappy Installed Varnish on Ubuntu 14.04 Server. Keep getting “This site can’t be reached” error


I am hosting my site on a AWS EC2 instance. The site was working fine until I installed Varnish. I restarted both apache and varnish after making the changes. Relevant files below :

/etc/varnish/default.vcl :

Code:
backend default {
    .host = "static ip here";
    .port = "8080";
}
/etc/apache2/ports.conf

Code:
Listen 8080

<IfModule ssl_module>
    Listen 443
</IfModule>

<IfModule mod_gnutls.c>
    Listen 443
</IfModule>
/etc/apache2/sites-available/

Code:
<VirtualHost *:8080>
The following ports are open : 22, 80, 8080 and 443.

http://i.imgur.com/Fc3vvuJ.png

I can ssh into the server normally.

Please help.
 
Old 04-15-2016, 03:30 PM   #2
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Welcome to LQ!

Putting Varnish In Front Of Apache On Ubuntu/Debian
How to Install and Configure Varnish with Apache on Ubuntu 12.04 may be of help.

Please review those 2 articles and keep good notes and let us know if you can't make any progress.
 
  


Reply



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
LXer: Varnish: Your site faster and more stable LXer Syndicated Linux News 0 12-29-2015 02:36 AM
ubuntu-desktop installed in server but getting error: no display specified ravisingh1 Linux - Software 12 09-08-2013 10:09 PM
LXer: Speed Up Your Web Site with Varnish LXer Syndicated Linux News 0 06-19-2013 07:21 PM
Installed Varnish, Migrated my site frm shared hosting to VPS -Sudden Loss in Traffic dreamcoder Linux - Server 2 08-22-2012 05:32 PM

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

All times are GMT -5. The time now is 05:12 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