Home Learn Linux Linux Answers Hardware What is the command to find internal ip for a site hosted. I have external ip of it.
  • If you cant get access to the server then try executing ifconfig command in a php script using exec() function:

    Answered by kunal
    5 years ago
    1 1
  • With external access simply you can't.
    You need to login into your remote machine and issue ifconfig from there

    Answered by ben
    5 years ago
    0 1
  • My previous answer was wrong.. You may not have permission to execute a command in php.

    So you will need access to that machine.

    Answered by kunal
    5 years ago
    1 1
  • I agree, you would need to either visit the machine and issue an ifconfig from terminal or if you have access to the router in that network and look at it's table of attached devices. You will be able to see the hostname and ipaddress that has been issued. You may not have access for this either..

    Answered by jmichelsen
    5 years ago
    1 0
Please register/login to answer this question. Click here to login
Similar Questions Found
Questions from category Hardware

Upcoming Linux Foundation Courses

  1. LFD312 Developing Applications For Linux
    16 Feb » 20 Feb - Atlanta - GA
  2. LFD331 Developing Linux Device Drivers
    16 Feb » 20 Feb - San Jose - CA
  3. LFS220 Linux System Administration
    16 Feb » 19 Feb - Virtual

View All Upcoming Courses

Community Answers - Search

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board