Webmin / Mediawiki(Apache) / NoIP

Kernels & Hardware, configuring network, installing services

Webmin / Mediawiki(Apache) / NoIP

Postby pintas » 2017-07-17 10:28

Hi!
I have setup a Webmin instalation along with Mediawiki on Debian 9 Strech.
For testing purposes, i'm using NoIP before i acquire a propper domain. But i can't point my DDNS to my server.

---> Here is my hosts (the project names are not real):

Code: Select all
127.0.0.1       projectglobal
192.168.15.10   project1.ddns.net
192.168.15.12   project2.ddns.net

# The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::3 ip6-allhosts


---> My Apache ports.conf:

Code: Select all
Listen *:80
#Listen *:10000

<IfModule ssl_module>
        Listen 443
</IfModule>

<IfModule mod_gnutls.c>
        Listen 443
</IfModule>

# vim: syntax=apache ts=4 sw=4 sts=4 sr noet


---> My Apache enabled site http://www.project1.ddns.net.conf:
Code: Select all
<VirtualHost *:80>
 ServerName www.project1.ddns.net
 ServerAlias project1.ddns.net
 DirectoryIndex index.php
 DocumentRoot /var/www/html/mediawiki/

<Directory /var/www/html/mediawiki/>
                Options FollowSymLinks
                AllowOverride All
                Order allow,deny
                allow from all
</Directory>

ErrorLog /var/log/apache2/project1.ddns.net-error_log
CustomLog /var/log/apache2/project1.ddns.net-access_log common

</VirtualHost>


Webmin is running and set on port 10000. NoIP is running and Apache is also running without errors. But i can't access neither Webmin ou Mediawiki from outside my network.
I've opened ports 80, 443 and 10000 in my router and in FirewallD in Webmin.

I've tried about everything i can think of, but still...
Any ideas?
pintas
 
Posts: 17
Joined: 2011-01-17 12:39

Re: Webmin / Mediawiki(Apache) / NoIP

Postby TonyT » 2017-07-17 10:48

Depending upon your ISP you may have to use alternate ports for for apache because most ISPs filter port 80 to prevent subscribers from running Web servers. Then use router port forwarding to to forward port XX requests to the LAN IP of the server. Even if the ISP allows port 80 you still need to use a different port because the router's default http port is port 80.

I use port 8090 for apache running on my LAN and port forward 8090 requests to the server LAN IP. Then I access the server using http://domain.com:8090. To access Webmin you'd have to use http://domain.com:10000.
TonyT
 
Posts: 466
Joined: 2006-09-04 11:57

Re: Webmin / Mediawiki(Apache) / NoIP

Postby kopper » 2017-07-17 10:55

TonyT beat me to it. :)

Additional questions, have you managed to connect with IP address? You don't seem to mention it in your post
kopper
 
Posts: 28
Joined: 2016-09-30 14:30

Re: Webmin / Mediawiki(Apache) / NoIP

Postby pintas » 2017-07-17 11:15

Thanks guys! :)

I didn't manage to connect with my IP address.
My ISP is known to use a private IP address, and i think that may be an issue.

I'm configuring the 8090 port to test.
pintas
 
Posts: 17
Joined: 2011-01-17 12:39

Re: Webmin / Mediawiki(Apache) / NoIP

Postby TonyT » 2017-07-17 11:34

After change the port you'll need to do:
sudo service apache2 restart
TonyT
 
Posts: 466
Joined: 2006-09-04 11:57

Re: Webmin / Mediawiki(Apache) / NoIP

Postby pintas » 2017-07-17 12:17

TonyT wrote:After change the port you'll need to do:
sudo service apache2 restart


Ok, did that.

I've placed Listen *:8090 in ports.conf, on my virtual host, i've set <VirtualHost *:8090> instead of 80 and opened 8090 TCP/UDP both on my router and my FirewallD (via Webmin).
Still can't access from outside via IP or NoIP. :(

ShieldsUp website shows the following:

80
Stealth http
World Wide Web HTTP

443
Stealth https
http protocol over TLS/SSL

8090
Stealth http-alt-alt
HTTP Alternate Alternate (see port 8080 and port 81)

10000
Stealth ndmp
Network Data Management Protocol
pintas
 
Posts: 17
Joined: 2011-01-17 12:39

Re: Webmin / Mediawiki(Apache) / NoIP

Postby TonyT » 2017-07-17 18:52

and opened 8090 TCP/UDP both on my router and my FirewallD

You must access the router Web interface and set port forwarding for the server. Forward 8090 to the LAN IP of the server.
TonyT
 
Posts: 466
Joined: 2006-09-04 11:57

Re: Webmin / Mediawiki(Apache) / NoIP

Postby pintas » 2017-07-17 23:47

TonyT wrote:
and opened 8090 TCP/UDP both on my router and my FirewallD

You must access the router Web interface and set port forwarding for the server. Forward 8090 to the LAN IP of the server.

Thanks Tony.
I did, but i still can't access it from outside the network...
pintas
 
Posts: 17
Joined: 2011-01-17 12:39

Re: Webmin / Mediawiki(Apache) / NoIP

Postby TonyT » 2017-07-18 11:17

TonyT
 
Posts: 466
Joined: 2006-09-04 11:57

Re: Webmin / Mediawiki(Apache) / NoIP

Postby pintas » 2017-07-24 10:24

Thanks guys.
It turns out my available site was missing the correct IP.
pintas
 
Posts: 17
Joined: 2011-01-17 12:39


Return to System configuration

Who is online

Users browsing this forum: No registered users and 11 guests

fashionable