Control Web Panel

WebPanel => Apache => Topic started by: LIDHosting on November 12, 2017, 04:12:04 PM

Title: Account Details
Post 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
Title: Re: Account Details
Post by: 24x7servermanagement on November 13, 2017, 08:16:05 AM
What's the output of ifconfig command?
Title: Re: Account Details
Post by: LIDHosting on November 13, 2017, 11:22:36 AM
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)

Title: Re: Account Details
Post by: 24x7servermanagement on November 14, 2017, 05:34:15 AM
inet addr is incorrectly showing so get in touch with your hosting provider and ask them to resolve it. 
Title: Re: Account Details
Post by: studio4host on November 14, 2017, 12:16:50 PM
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
Title: Re: Account Details
Post by: LIDHosting on November 14, 2017, 11:53:16 PM
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..
Title: Re: Account Details
Post by: studio4host on November 15, 2017, 06:41:34 AM
yes, you have info on the link sent in previous post
Title: Re: Account Details
Post by: darkness on November 19, 2017, 09:13:36 PM
or run this in the console to get your public IP:
Code: [Select]
dig +short myip.opendns.com @resolver1.opendns.com
Title: Re: Account Details
Post by: LIDHosting on December 04, 2017, 10:07:15 PM
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,