unix IP address.

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!
syu1Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

tfewsterCommented:
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
zouweiCommented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
syu1Author Commented:
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
Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

zouweiCommented:
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
zouweiCommented:
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
syu1Author Commented:
thanks lot!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.