0

Hi my network map is like this

internet--Arris589--wavlink rounter--my PC== apache2  

my problem is when the web packs come in they get the "this webpage is down message" and when I connect to the page its works. I have already tried port forwarding and set up apache.

This is what my config looks like in apache

Config of my webserver

my webhub.network.conf:

<VirtualHost *:80>
    ServerName www.webhub.network
    ServerAlias webhub.network
    DocumentRoot /home/chris/Documents/homeserver/
    <Directory /home/chris/Documents/homeserver/>
        Options Indexes FollowSymLinks
        AllowOverride None
        Require all granted
    </Directory>
</VirtualHost>
guntbert
  • 13,475
Funni5
  • 23

1 Answers1

0

The first line of webhub.network.conf file says, who can go to your webiste. Therefore I recommend you to repace it with:

<VirtualHost *:80>

That means you allow every client to connect with your webserver, if they can reach your port 80.

You can only have one ServerName. The other one you can use as ServerAlias. Src


Make sure, there is a link to webhub.network.conf in the sites-enabled folder (you can add the link automatically with a2ensite webhub.network.conf)

Make sure you set the portforwarding up in your router, so that everybody from the outside can connect to your prot 80.

If it does not work, you also may check that apache has the right to read and send the folder. For example add this code before </VirtualHost>. Src

<Directory /home/chris/Documents/homeserver/>
    Options Indexes FollowSymLinks MultiViews
    AllowOverride None
    Order allow,deny
    allow from all
</Directory>
Boba Fit
  • 1,693