Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Apache Server

Status
Not open for further replies.

unicorn11

Programmer
Jun 10, 2000
392
IN
Hi Everybody

i have a linux box in my office and i need first findout what the ip of that machine is and how to access this localhost server.

apache is setup on that machine Unicorn11
unicorn11@mailcity.com

[red]Luck is not chance, it's toil; fortune's expensive
smile is earned.[red]
 
I hope my help is sufficient:

#ifconfig -a

You will see your localhost and the IP that is configured in the list.

Hope it helps.
 
the error it gives is that the command is not there

Unicorn11
unicorn11@mailcity.com

[red]Luck is not chance, it's toil; fortune's expensive smile is earned.[red]
 
Hi,

In that case do '/sbin/ifconfig' instead.

Rgds
 
Hello,
You can go to the following website to get your IP address. This will work provided that you are not using a proxy server.
You can access your apache server from home by using a web browser and pointing it to your IP address. Say your ip is 1.2.3.4 go to the url Make sure Apache is running, you'll need root access to start it.

Hope this NFO helped
-Out0fOrder
 
Try this command if the host-routing is correct.
nslookup `hostname`
This I have worked on HP andsolaris machines
Regards
Partha
Parthasarathy, Hassan
 
Try this command if the host-routing is correct.
nslookup `hostname`
This I have worked on HP and solaris machines
Regards
Partha
Parthasarathy, Hassan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top