?
Solved

unix IP address.

Posted on 2000-02-02
6
Medium Priority
?
493 Views
Last Modified: 2010-05-18
I am now working at the Unix workstation, In the current dirrectory user/home, I create public_html, and a index.html,

1) why the index.html is not visible?
I got the following error: ERROR 205 -- DNS name lookup failure. Please contact your system administrator.

2) how to find the unix IP address?


thanks!
0
Comment
Question by:syu1
  • 3
  • 2
6 Comments
 
LVL 21

Expert Comment

by:tfewster
ID: 2483535
I don't know anything about setting up a web server, but in your terminal session you should be able to use nslookup `hostname` to check DNS is set up correctly; It will also return the IP address of the system.

(With apologies to chris_calabrese  - go to http://www.experts-exchange.com/jsp/qShow.jsp?ta=unix&qid=10265244 
for further ideas!)
0
 

Accepted Solution

by:
zouwei earned 240 total points
ID: 2484045
you should set the public_html directory with the permission rwxr_xr_x. same to these html files.


for IP address, if your UNIX system uses name server, do this:

nslookup your_machine_name


If your UINX systems use no Nameserver, do
  ping your_machine_name


If you want to find out your host name,
do

  hostname

or
uname -a


0
 

Author Comment

by:syu1
ID: 2484386
thanks lot , but how come when I use
nslookup find my ip of the serveras 127.0.0.1

and use http://127.0.0.1/~myusername/index.html

to view my home page, it does not work at all

thanks!
0
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

Expert Comment

by:zouwei
ID: 2485714
Are your UNIX machine ( that 127.0.0.1) is a web server? If it is not, you should find out your web server before you can do this.( this is different with the NT systems).

One easy way to do this is: visit other people's web page whose machine is in the same domain as yours. Then modify the address of the ~hisusename to ~yourusename.


If this still not work, ask your administrator if you are allowed to setup the webpage in this account.
0
 

Expert Comment

by:zouwei
ID: 2485718
Are your UNIX machine ( that 127.0.0.1) is a web server? If it is not, you should find out your web server before you can do this.( this is different with the NT systems).

One easy way to do this is: visit other people's web page whose machine is in the same domain as yours. Then modify the address of the ~hisusename to ~yourusename.


If this still not work, ask your administrator if you are allowed to setup the webpage in this account.
0
 

Author Comment

by:syu1
ID: 2495137
thanks lot!
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses

599 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question