Host file and domain name


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Host file and domain name
# 1  
Old 01-03-2002
Java Host file and domain name

Hi all,

I've got a question, it's probably a basic problem, but as i'm new to unix thought i'd try this forum out.

The problem is, i'm trying to use to alias entries on the hosts file, which point to an NT IIS Server. The DNS server is a unix sun solaris. On the sun, i've filled in the hosts file with:-

<IP Address> intra.webaddress1.co.uk
<IP Address> intra.webaddress2.co.uk

Both the IP addresses are the same, as they are both alias entries for the website. The domain name for the server is webaddress1.co.uk.

On compiling the hosts file with the make command, it tells me that webaddress2.co.uk is being left out because it's not the domain name. Is there an additional file I need to update, and place some entry for webaddress2.co.uk?

Does anyone understand what i'm on about?

Can anyone help?

Thanks,

Nick
# 2  
Old 01-03-2002
Hi Nick,

It appears you are trying to set up a Sun
box as a Domain Name Server (if I read you
correctly). First, I'm not sure what you mean
by "compiling" the hosts file since that is
just a text file used to map hostnames and IP
addresses. An error message from "make" would
not be suprising since the "hosts" file is not
a makefile.

DNS however is much more complex
than that. I would recommend you pick up a
book called "DNS and BIND", O'Reilly Publishing,
ISBN: 1-56592-512-2

It's a great book and I'm sure it will help you.
# 3  
Old 01-03-2002
MySQL nick

Thanks for your help. I have found a solution to my problem. I was trying to use a different domain name in the hosts file, which I could not do, as the hosts file only works with the domain the Sun box has been setup with.

I have discovered by creating a DNS table file within the /etc/name.data directory I can have URLs with different domain names.

The reason why I need to do this is that a college that I work for uses a bilingual website address, so I need two URLs that point to the same address. One in english and another in welsh.

I might well take a look at that book though.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Parsing File For Domain Name

I was trying to setup some conficker monitoring for my network I took the list from http://www.epicwinrar.com/conficker/domains.txtThe text file format containing Variant, Date, Index, Hostname A, 10/01/2008, 0, kuwzclqpw.com A, 10/01/2008, 1, hspch.net A, 10/01/2008, 2, sumkuezgsq.info A,... (5 Replies)
Discussion started by: bEgUnDaL
5 Replies

2. UNIX for Dummies Questions & Answers

Transfer large number of files host to host

Hello.... I have two servers, one has an empty / and the other has a subdirectory with a large number (4 gig) with many, many files. I need a way to transfer the files en masse from the server with the large number of files to the one that is essentially blank. I don't have space on the used... (16 Replies)
Discussion started by: blaine.miller
16 Replies

3. Solaris

Mail issue solution query- host map: lookup (domain): deferred

Hi all I had a mail issue earlier today where I was not receiving any emails from the servers of one of our clients. The mail queue just showed this: -----Q-ID----- --Size-- -----Q-Time----- ------------Sender/Recipient----------- o8S7eSpp020274* 5858 Tue Sep 28 10:42... (0 Replies)
Discussion started by: notreallyhere
0 Replies

4. UNIX for Dummies Questions & Answers

Add Linux host to Windows domain

Hi, I want to know the commands for adding a linux host to windows active directory domain. Request you to please help. Thanks & Regards Arun (1 Reply)
Discussion started by: Arun.Kakarla
1 Replies

5. UNIX for Advanced & Expert Users

Help! How to find the local host after few ssh hops to remote host???

I do a ssh to remote host(A1) from local host(L1). I then ssh to another remote(A2) from A1. When I do a who -m from A2, I see the "connected from" as "A1". => who -m userid pts/2 2010-03-27 08:47 (A1) I want to identify who is the local host who initiated the connection to... (3 Replies)
Discussion started by: gomes1333
3 Replies

6. Shell Programming and Scripting

running commands to remote host from centralized host

Gurus/Experts We have a centralized UNIX/Solaris server from where we can actually ssh to all other UNIX/Solaris servers...I need to write a script that reside on this centerlized server and do FileSystem monitoring (basically run df -h or -k) of other remote servers and then send an email to me... (6 Replies)
Discussion started by: anjum.suri
6 Replies

7. Windows & DOS: Issues & Discussions

How to: Linux BOX in Windows Domain (w/out joining the domain)

Dear Expert, i have linux box that is running in the windows domain, BUT did not being a member of the domain. as I am not the System Administrator so I have no control on the server in the network, such as modify dns entry , add the linux box in AD and domain record and so on that relevant. ... (2 Replies)
Discussion started by: regmaster
2 Replies

8. Solaris

unable to ping a host in another domain

Hello I have a server in it.siroe.com I added it.siroe.com in /etc/resolv.conf. I still can't ping the server. any service to restart here? any other file to edit? thx (4 Replies)
Discussion started by: melanie_pfefer
4 Replies

9. Solaris

How to delete the files from local host to remote host

Hi all, i am copying .gz files from production server to development server using "scp" command.my requirement is after copying .gz files i want to delete old .gz files(two days back) in development server from production server. like this way i need to delelte .log ,.z and .dmp files... (3 Replies)
Discussion started by: krishna176
3 Replies

10. IP Networking

QNX host cannot ping SCO host, vice versa

The problem I am facing now is that the QNX host could not ping the SCO host and vice versa. They are in the same domain, ie, 172.20.3.xx. As I am very new to Unix, I guess I must have missed out some important steps. Pls help... Thanx alot (2 Replies)
Discussion started by: gavon
2 Replies
Login or Register to Ask a Question