Xaul Omar Tobar
Xaul Omar Tobar

Reputation: 67

how to access a website using Apache from internet using no-ip?

CREATE ACCOUNT IN no-ip.com

hostname: softparapymes.no-ip.org

download the DUC v4.0.2 and install

CONFIGURATION OF THE ROUTER

ELTEL Group,

Model: ET-5300

opening the port 80

enter image description here

CONFIGURATION OF THE WAMP SERVER

The file phpmyadmin.conf

<Directory "c:/wamp/apps/phpmyadmin4.0.4/">
    Options Indexes FollowSymLinks ExecCGI
    AllowOverride all
    Order allow,deny
    Allow from all
    Allow from 127.0.0.1
    Allow from 190.87.185.218
    Allow from ::1
    Allow from localhost
    Allow from softparapymes.no-ip.org
</Directory>

I configured this, but I displays the router's settings and not my website. What am I doing wrong or I need to configure?

Upvotes: 0

Views: 2347

Answers (2)

RiggsFolly
RiggsFolly

Reputation: 94682

I have to say this first

  1. NEVER EVER put a PC in the DMZ unless you really know what you are doing!
  2. Are you really sure you want to give access to your phpmyadmin to the world?

If you are sure about giving phpmyadmin access to the world, make sure that you are using very strong passwords. I would also suggest creating a new SuperUser account with a non obvious username and a very strong password and then deleting the root user. The whole world knows about the root username on a MySQL server. At least if you change it to something else hackers will have to guess the account name as well as the password. (So dont use 'admin' as the account name either).

It looks like you have configured your router correctly.

This configuration is enough to open phpmyadmin up to the world. Allow from all does exactly what it says, it allows any ip address to connect to this Directory so all the other stuff is just noise and possible confusion.

<Directory "c:/wamp/apps/phpmyadmin4.0.4/">
    Options Indexes FollowSymLinks ExecCGI
    AllowOverride all
    Order allow,deny
    Allow from all
</Directory>

Oh and if you are using Apache 2.4.x the syntax has changed a little, although both versions of the syntax should work as long as you have the apache module modules/mod_access_compat.so loaded.

<Directory "c:/wamp/apps/phpmyadmin4.0.4/">
    Options Indexes FollowSymLinks ExecCGI
    AllowOverride all
    Require all granted
</Directory>

The normal problem with testing that you can access the site or phpmyadmin in your case is that most home/office routers do not have the required feature ( loopback ) either installed or turned on to allow the router to see that you are inside your local network when you use the url softparapymes.no-ip.org and loop you back inside the local network.

So to test your configuration use a device/PC outside your home/office network, and it will probably work.

Upvotes: 0

IAteYourKitten
IAteYourKitten

Reputation: 1019

On my router, I had to find an Advanced DMZ hosting area and select one of my machines by mac address, and then I could access it from within my network, by going to my routers IP (not the NAT). Whereas the regular DMZ hosting option, my routers IP would take me to the configuration page for the router. Not sure with your specific setup, but this would be something to look for. Alternatively, call support for your router?

Upvotes: 0

Related Questions