LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-18-2020, 09:41 AM   #1
Trondny
LQ Newbie
 
Registered: Feb 2020
Location: Skptterud Norwey
Distribution: ubuntu 18.04.3
Posts: 2

Rep: Reputation: Disabled
Angry Apache, Ubuntu 18.04


Hi !

Show site 3 on internet ok, but on local net shows site 2.
I have a self hosted server in the local-net and I log in to it with (ssh addressees) The server is 2 cores 3 GHz possessor with 2 GB ram. I have Ubuntu 18.04.3 on the Server and my laptop is a 4 Core AMD possessor with 8 GB ram. And Ubuntu 18.04 desktop. I have Fiber on Internet so it is 100 Mb S speed up and down. On the server it is 8 web sites in Ubuntu Apache and they all have certificate from cert-bot on all sites. All site show up on internet, but It is one side s site 3 that are normal on internet but locally when i open it shows side 2,
to show right I have to open with WP-admin and then show side, then it ok. I do not understand this.
The host file i correct to . Anybody had this problem.
To tainting the security I hope then somebody can give mi advice.
 
Old 02-18-2020, 12:12 PM   #2
heytimc
LQ Newbie
 
Registered: Nov 2003
Distribution: Centos 7/Ubuntu 20.04.2
Posts: 14

Rep: Reputation: 6
Possibly because the apache server is providing you with sites according to url you are using to get there? So from inside your browser says https://myserver but your external DNS means you have to go https://mysite.myisp.com
This is "Name-based Virtual Host Support" https://httpd.apache.org/docs/2.4/vh...ame-based.html
 
  


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
Newbie with Apache Server question "ervice - The Apache HTTP Server" vs. "Service - The Apache HTTP Server" HYEARWOOD Linux - Newbie 5 10-17-2017 02:38 AM
Apache with nobody:nobody and apache:apache sudhirmhrj Linux - Server 1 06-29-2010 04:48 AM
Apache ProxyPass doubt (ubuntu 6.10, apache 2.0) Carlos2dub Linux - Server 1 05-28-2008 03:43 AM
apache benchmarks (apache v13 / apache v20) ; large differences between benchmarking markus1982 Linux - Software 0 02-08-2003 10:53 AM
Removing apache rpm and install apache from source john lee Linux - Software 2 11-15-2001 08:44 PM

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

All times are GMT -5. The time now is 07:23 AM.

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