Hello, I have some problem I have installed successfully aapanel on my local ip address. I'm accessing my website with the local ip address but I'm not accessing from out side internet please help me how can I access website from outside internet?? Any suggession or advice??
Can't Access my website from outside Internet
ironman yes you need to configure an address that is public and open ports to allow external access into your machine. Questions:
- Are you using a domain name?
- Are you using a public IP address reserved to that domain name?
- What is your Distro?
- Edited
Dear Boss I am using Centos 7 on my machine and I am using domain name .
and these are ip details after execute the ip addr on centos terminal
ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp0s3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 08:00:27:d1:32:1c brd ff:ff:ff:ff:ff:ff
inet 192.168.43.43/24 brd 192.168.43.255 scope global noprefixroute dynamic enp0s3
valid_lft 3324sec preferred_lft 3324sec
inet6 fe80::9a0d:2950:97f8:4ffb/64 scope link noprefixroute
valid_lft forever preferred_lft forever
and these are my ip on my CMD Adminstrator
Windows IP Configuration
Ethernet adapter Ethernet:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Ethernet adapter Ethernet 2:
Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::1f5:a9f2:55ac:11f5%33
IPv4 Address. . . . . . . . . . . : 192.168.56.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
Wireless LAN adapter Local Area Connection* 3:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Wireless LAN adapter Local Area Connection* 4:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Wireless LAN adapter Wi-Fi:
Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::f441:acfa:9aa:3f19%8
IPv4 Address. . . . . . . . . . . : 192.168.43.80
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.43.1
Ethernet adapter Bluetooth Network Connection:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix .
I am accessing my aapanel through this ip addr 192.168.43.43 now please check which ip address reserved how to allow that ip for ports please check the ips and tell me the procedure . Thank you
ironman can you run a dns inspection into your domain name to discover were you got your dns problem (if any)? Please do it in this link -> https://dnsinspect.com/ and publish here your report if you may.
ironman I think this is your report...
https://www.dnsinspect.com/cryptop2pxchange.com/10393869
Your IP in use is not public, therefore web servers using private IPs can't be reached from the Internet.
NS Records at Parent Servers
We have successfully fetched domain's NS records from parent name server (b.gtld-servers.net.).
Domain NS records:
jill.ns.cloudflare.com. TTL=172800 [173.245.58.122] [2606:4700:50::adf5:3a7a]
walt.ns.cloudflare.com. TTL=172800 [173.245.59.148] [2606:4700:58::adf5:3b94]
Missing Glue
Check MX Records IPs are Public
FAIL: MX records with private IP addresses:
[192.168.43.43]
Mail servers using private IPs can't be reached from the Internet causing mail delivery delays.
: [192.168.43.43]
Web servers using private IPs can't be reached from the Internet.
- Edited
ironman exactly! Your IP address is not public. You are pointing your website to 192.168.43.43 and that is not a public IP address, therefore you cannot reach your domain name by typing your address into the browser, but locally works without an issue, you need to add your IP address that is public and then you can reach your domain name.
TheWormsUnited yes right so what i should change to bring in public ip address ?
- Edited
ironman change the values of your private IP address to your public IP address and you should be fine. You can find what is your public IP in several websites such as this one provided by google.
https://www.google.com/search?q=what+is+my+ip+address
TheWormsUnited
how can i change my private ip address into this public ip address ? and you know that public ip address always change then how can access the web if public ip address changes ?
My public ip address
103.7.78.163
Your public IP address
ironman mmm thats a bit tricky then to have your local machine working as a server since your IP changes all the time, you will have to change the IP everytime it changes if you are using a dynamic IP address and not a static one like most servers. I would suggest a cheap vps machine for you to work on that domain name and then you can have your website running all the time.
i had a vps server before but now i dont want this . i wanna run my domain on my machine no problem i will keep always on my machine for run website . can you tell me boss how can i change my private ip address to public ip address on centos ?
ironman You might have to do some reading about it, here is a good guide for you.
https://www.techrepublic.com/article/how-to-configure-a-static-ip-address-in-centos-7/
TheWormsUnited Hello dear boss I have configured static ip address now what I should change my private ip address to public ip address??
ironman that is correct, the link i have sent you shows you exactly how to do it.
Dear Boss I have configured static ip address through that guide and after assign this static ip to that domain domain is opening locally not opening from outside internet ????????
ironman it takes up to 72 hours to propagate addresses over the internet
TheWormsUnited Hello dear boss suppose i have set static ip address on centos 192.168.43.83 then i should assign my public address according to the google my ip address is 119.160.103.139 . So i should assign this ip address to my domain right ?
ironman that is correct.
TheWormsUnited dear boss i have set this public ip address on my cloudflare account in the dns records .but i wanna ask that if i change the network then can domain will be still work on old public ip address ?