Control Web Panel
WebPanel => Apache => Topic started by: LIDHosting on November 12, 2017, 04:12:04 PM
-
Hello everyone
I have a problem..
When I create account for client, the details it creates gives out the Lan IP instead of the wan ip.
How do i get it to display the wan ip for the Panel URL?
Example
Server IP: 192.168.1.25
Web Panel Login:
Domain: xxxxx.com
Username:xxxxxx
Password:xxxxx
Admin Email: xxxxxxx@.com
Panel URL: http://192.168.1.25:2030
NameServers:
ns1.centos-webpanel.com
ns2.centos-webpanel.com
-
What's the output of ifconfig command?
-
Link encap:Ethernet HWaddr 00:1E:C9:B2:A6:06
inet addr:192.168.1.25 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: 2604:2000:1343:3b:21e:c9ff:feb2:a606/64 Scope:Global
inet6 addr: fe80::21e:c9ff:feb2:a606/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:475880 errors:0 dropped:0 overruns:0 frame:0
TX packets:312414 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:499512054 (476.3 MiB) TX bytes:183207072 (174.7 MiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:17198 errors:0 dropped:0 overruns:0 frame:0
TX packets:17198 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5511336 (5.2 MiB) TX bytes:5511336 (5.2 MiB)
-
inet addr is incorrectly showing so get in touch with your hosting provider and ask them to resolve it.
-
you have server with local ip which means that your public IP is nat-ed to your server and then you can enable nat-ed mod
here is the info (orange box)
http://wiki.centos-webpanel.com/default-page-displayed-for-all-domains
-
you have server with local ip which means that your public IP is nat-ed to your server and then you can enable nat-ed mod
here is the info (orange box)
http://wiki.centos-webpanel.com/default-page-displayed-for-all-domains
Im not understanding what you are saying...
My shared Ip is the Wan ip correct?
My NAT Local IP: it the land Ip correct?
thats what I have in the settings..
-
yes, you have info on the link sent in previous post
-
or run this in the console to get your public IP:
dig +short myip.opendns.com @resolver1.opendns.com
-
Thanks for the response..
I know what my External IP is. But I was looking to see if there was a way when you create a account that instead of it showing the server internal ip it puts out the External Ip so that when I send a email automatic that is there for the client..
Regards,