virtualhost – Something wrong with configuring apache for it to serve as a virtual host in a local domain on a local network

I'm using Apache 2.4.29 on Ubuntu 18. With a default domain, Apache was working fine, but I'm trying to configure additional subdomains. Here is my virtual host configuration:

adam@gondolin:~$ cat /etc/apache2/sites-available/edoras_mysql.conf

    ServerName edoras_mysql.gondolin.localdomain
    ServerAdmin webmaster@localhost
    DocumentRoot "/var/www/edoras_mysql"

    ErrorLog ${APACHE_LOG_DIR}/error.log
    CustomLog ${APACHE_LOG_DIR}/access.log combined

The default conf is unchanged.

I ran a2ensite edoras_mysql and he did not complain, and restarted the Apache demon, but browsing the site results in:

We can’t connect to the server at edoras_mysql.gondolin.localdomain.

of the same machine. Navigation gondolin.localdomain although it works.

That's my /etc/hosts:

adam@gondolin:~$ cat /etc/hosts   localhost localhost.localdomain gondolin   gondolin     gondolin.localdomain gondolin

# The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

If I did something wrong, I do not see it. That's what I should have after all that I've read on the net.

I use this gondolin host as a DHCP server and DNS, and gateway with iptables that works fine, so I do not see any problems with that.

network – The connection is established on one IP but not on another on the same host / nic

I am debugging a problem where some http requests take longer at random than usual. (Normal being a few ms, abnormally 1000 ms up to a minute or more)

The host has multiple IP addresses and the service it is working with is proxied by nginx on two of these IP addresses.

If I send requests to the first IP address, everything works as expected and all requests are fast.
If I send requests to the second IP address, some requests take several seconds or more randomly.

Both IPs are on the same nic:

2: eth0:  mtu 1500 qdisc mq      master bond0 state UP group default qlen 1000
link/ether 00:0c:29:5e:47:7d brd ff:ff:ff:ff:ff:ff
3: bond0:  mtu 1500 qdisc noqueue state UP group default 
link/ether 00:0c:29:5e:47:7d brd ff:ff:ff:ff:ff:ff
inet brd scope global bond0
   valid_lft forever preferred_lft forever
inet scope global bond0
   valid_lft forever preferred_lft forever
inet scope global bond0
   valid_lft forever preferred_lft forever
inet scope global bond0
   valid_lft forever preferred_lft forever
inet scope global bond0
   valid_lft forever preferred_lft forever

So, for example:

curl -H "Host: xxx"

will be randomly slow, while

curl -H "Host: xxx"

is always fast.

Both IP addresses are serviced by the same nginx server block:

server {

        location / {
                proxy_pass http://...;

I've checked the open ports, but it's only a few hundred connections on each IP.

This is under Linux (3.16.0-8-amd64 # 1 Debian SMP 3.16.64-2 (2019-04-01) x86_64 GNU / Linux)

I do not have any iptable rules

I am not sure how to proceed with the debugging and I would appreciate all the tricks 🙂

Concrete questions:

  • What settings can be different at the IP level on the same link that I could check
  • What indicators can I check to give me clues about the cause

Evolution Host | KVM | ★ FROM 3 € / month ★ | UK, FR, DE, CA, US, AU, PL | DDoS protection | 99.95% U-SLA

Host Host VPS hosting infrastructure from Evolution consists of the highest quality enterprise hardware. High-end Intel Xeon processors, fully redundant RAID arrays, state-of-the-art DDoS protection and ECC protected RAM ensure unparalleled performance and reliability.

Main characteristics

• Choose from 10 locations and 22 operating systems
KVM Virtualization
• 65, 535 IPv6 addresses
moment Install
• Advanced protection against DDoS attacks – Unlimited data rate
• SLA at 99.95% uptime
• unbeatable customer support
• Upgrade at any time
• VNC Access – useful for troubleshooting!
Unlimited OS reinstalls
• Full access to the root

VPS plans

1 vCPU
256 MB of RAM
7 GB SSD or 25 GB hard drive
Port 100Mb / s
Advanced protection against DDoS attacks
1 TB monthly transfer

Price: € 3

Order with SSD:…p?package=Mini
Hard disk drive:…p?package=Mini

1 vCPU
512 MB of RAM
10 GB SSD or 50 GB hard drive
Port 125Mb / s
Advanced protection against DDoS attacks
2 TB monthly transfer

Price: € 5

Command with SSD:…ackage=Starter
Command with hard disk:…ackage=Starter

2 vCPU
1024 MB of RAM
20 GB SSD or 100 GB hard drive
Port 150Mb / s
Advanced protection against DDoS attacks
Monthly transfer of 3 TB

Price: € 10

Command with SSD:…kage=Developer
Hard drive command:…kage=Developer

3 vCPU
2048 MB of RAM
30 GB SSD or 150 GB hard drive
Port 200Mb / s
Monthly transfer of 6 TB

Price: $ 20

Command with SSD:…age=Production
Order with hard disk:…age=Production

4 vCPU
4096 MB of RAM
60 GB SSD or 300 GB hard drive
250Mb / s Port
Monthly transfer of 6 TB

Price: 40 €

Order with SSD:…ckage=Business
Hard disk drive:…ckage=Business

8 vCPU
8192 MB of RAM
100 GB SSD or 500 GB hard drive
250Mb / s Port
Monthly transfer of 7 TB

Price: € 60

Order with SSD:…e=Professional
Order with hard drive:…e=Professional

12 vCPU
12288 MB of RAM
130 GB SSD or 650 GB hard drive
Port 300Mb / s
Monthly transfer of 8 TB

Price: 80 €

Order with SSD:…age=Enterprise
Order with hard disk:…age=Enterprise

16 vCPU
16384 MB of RAM
160 GB SSD or 800 GB hard drive
Port 500Mb / s
Monthly transfer of 10 TB

Price: 100 €

Order with SSD:…ckage=Ultimate
Hard disk drive:…ckage=Ultimate

Optional addons
All prices are monthly

• 1 additional IPv4 address: € 2.99 per IP
• Additional disk space: € 2.99 per 50 GB
• Automatic remote backups (daily) 4,99 €
• Additional monthly transfer of € 2.99 per 1 TB

Locations available

Strasbourg, France | IP Test:
Frankfurt, Germany | IP of test:
London, United Kingdom | IP of test:
Montreal Canada | IP of test:
Oregon, United States | IP of test:
Dallas, United States | IP of test:
Virginia, USA | IP of test:
Sydney, Australia | IP of test:
Warsaw, Poland | IP of test:

Operating systems

• CentOS 6.9 x86
• CentOS 6.9 x64
• CentOS 7.4 x64
• openSUSE 13.1 x86
• openSUSE 13.1 x64
• Scientific 7.4 x64
• Fedora 21 x64
• Fedora 27 x64
• Debian 8.7 x64
• Debian 9.4 x64
• Debian 9.4 x86
• Ubuntu 14.04 x86 LTS
• Ubuntu 14.04 x64 LTS
• Ubuntu 16.04 x86 LTS
• Ubuntu 16.04 x64 LTS
• Ubuntu 17.10 x86
• Ubuntu 17.10 x64
• Ubuntu 18.04 x86 LTS
• Ubuntu 18.04 x64 LTS
• Windows Server 2012 R2
• Windows Server 2016
• Windows Server 2019
Need another OS? Do you want to use a custom ISO image? Contact us!

Frequently asked questions
Q: Do you support rDNS records?

A: yes You can configure rDNS records for IPv4 and IPv6 addresses via the control panel. The changes are applied instantly.

Q: How long does the installation take?

A: Instant configuration is included with all VPS commands. Linux VPS are usually installed within 2-3 minutes. Windows is installed within 10 minutes.

Q: What are your accepted payment methods?

A: We accept Paypal cards, credit / debit cards, Bitcoin and many other cryptographic currencies.

Q: What is installed on the VPS?

A: SSH is preinstalled to allow easy installation and management of your applications. The remote desktop is provided with Windows servers.

Q: Do you have backup solutions in place?

A: Evolution Host has implemented several layers of protection to ensure the integrity of your data, even in the event of unforeseen circumstances. Our fully redundant RAID arrays protect your data from hardware failures, with additional solutions such as daily offsite backups to protect you from physical disasters. You can also benefit from our offsite backup backup solution for $ 4.99 per month, which allows you to restore the status of your VPS at an earlier time.

Contact our staff

If you have any questions, our staff will be happy to help you.
You can contact us by sending an email to

Please visit for more information or to obtain information about our other services.

Varnish Web site with authentication returning 200 when the host header is set to "#"

So I'm testing a website that runs on Varnish and has HTTP authentication. Generally, if you try to visit the site, it will ask you for a username and password. If you enter it incorrectly / close the prompt, you get a 401 response. However, if you change the request's host header to an invalid site, you receive a 500 response. with a quick error for the unknown domain. All this makes sense and seems to work normally.

However, if you set the host header to a pound sign "#", an ampersand, or a slash, the site returns a 200 with a length of content equal to zero in the response, even if you request an existing page on the server. . Why can this happen and are there methods to exploit it?

Edit: I've also noticed that this increases the response time from 20-50 ms to over 1000 ms if it's useful.

Looking for a VPS host that can handle multiple leagues of legendary robots.

Hi guys,

I currently need a VPS host that supports running multiple virtual machines on the server, which will run a league of captions and a bottling program. Therefore, this means that virtualization must be supported, a graphics card is needed, a CPU with a high number of cores and threads, between 16 and 32 g of RAM and at least 2 TB of RAM. space. I plan to run about 30 robots, but I intend to grow in the future based on sales. Please contact me via this forum or pm me. My discord is twin # 8520 and I will be active on this thread at least 7 days after its publication. In addition, the bottling program only supports Windows 10 64-bit, which can cause problems and a minimum resolution of 1366×768 is required. Hoping to work with you in the future .

networking – Direct connection to WSL with SSH from another host

Can you connect from a host (linux) directly into a windows-wsl-ssh? without connecting to windows first? Like, change the wsl port under linux and connect to this port instead? What should I change for that? On the Internet, I can only find solutions for connecting to WSL from the Windows host via, and I have to log in from another host.

[WTS] The best host is! High availability and fully redundant network.

Legionbox is the leading provider of VPS and dedicated servers, created and running successfully for those who consistently need high performance, reliability, stability and server security!

Linux Virtual Private Servers

With Legionbox virtual server, RAM, storage and capacity without overload are provided to you.

Each VPS comes with:

– unmeasured bandwidth;
– Instant installation (no downtime);
– Free panel ISPmanagerLite 4;
– 7 day money back guarantee;
– Payment Options: Paypal, Bitcoin, WebMoney and major credit cards;
– High security (level III security level).

Xen VPS (most popular plans)

Choose one of the options: CentOS, Ubuntu, Debian, Fedora or CentOS on cPanel.
Available locations: United States, Los Angeles, Switzerland, Zurich, Germany, Nuremberg, Russia, Moscow


CPU: 1хE5-2680
RAM: 0.5 GB
Disk space: 15 GB
$ 7 / month


CPU: 2хE5-2680
Disk space: 25 GB
$ 11.99 / month


CPU: 2хE5-2680
Disk space: 50 GB
$ 23.99 / month

Need another configuration for XEN VPS? Check out more options here:

SSD VPS (most popular plans)

Choose one of the options: CentOS, Ubuntu, Debian, Fedora or Windows.
Available locations: United States, Los Angeles, Switzerland, Zurich, Germany, Nuremberg.


CPU: 1хE5-2680
Disk space: 20 GB
$ 9.95 / month


CPU: 2хE5-2680
Disk space: 30 GB
$ 19.95 / month

Need another configuration for SSD VPS? Check out more options here:

On Legionbox, you can also get Windows VPS from $ 11.99 / month >>>>


CPU: 2хE5-2680
Disk space: 25 GB
$ 11.99 / month


CPU: 2хE5-2680
Disk space: 80 GB
$ 44.99 / month

Check here for more Windows VPS

Need a dedicated server? Check out the best and fastest Windows and Linux dedicated servers here!

Have a question?
Do not hesitate to open a ticket

. (tagsToTranslate) webmaster forum (t) internet marketing (t) search engine optimization (t) web design (t) seo (t) ppc (t) affiliate marketing (t) search engine marketing (t) web hosting web (t) domain name (t) social media

dns – cname usage methodology to check domain ownership for use with a host

Web hosting services, such as Squarespace, allow customers to connect their third-party hosted domains to their site without transferring ownership or changing name servers. This is achieved by adding specific records to the DNS configuration of the domain itself. This is what Squarespace requires:

HOST            RECORD    VALUE
9aa5s43zpykpn   cname
www             cname
@               a
@               a
@               a
@               a

Presumably, when the domain is visited, the A record connects to the appropriate server which, with the help of the CNAME registry, discerns and directs the request to the appropriate content in function of the unique identifier stored in the host (9aa5s43zpykpn).

Is this really how it works and why?

Is queried as part of DNS resolution? (before the squarespace servers receive the request via the A record)

Are there other objectives at work here for this type of installation?

Why the need for registration www?

More importantly, what Squarespace technique would it use to actually display the CNAME record for verification purposes? In other words, is there an appropriate DNS record for this purpose, or should the server identify the incoming host (domain), match it, and look for the associated hash (9aa5s43zpykpn) in a database, then use a tool such as dig check that the cname registration exists?

Insight appreciated.

metasploit – Proxy chains to access ports on the same host

It may be an amazing stupid question but I need to know if this concept is even possible.

I got a low privilege shell on a target machine. After an enumeration, I know that the host is vulnerable to EternalBlue but port 445 is blocked by firewall restrictions.

Is it possible to transfer port 445 to my machine as a low privileged user? As can be seen in the screen shot below, I used the MSF socks4a module in combination with the proxy chains, but my probes were denied.

screen capture

I've also tried using the MSF portfwd module which for some reason did not stop killing my meter-meter sessions as soon as I connected to the local port.

Could someone please clarify this for me?

How to run / host the java app graded with aws lambda?

Currently, I have a java project that is a service that queries another service to export data in xml file format, I need this exporter to generate xml files and upload them to an ftp server during certain days of the month.

I want to use lambda to speed up and process if necessary. How can I get there, how can I start?