Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i am new to dns server configuration on linux so i have a little problem with my lan application..
i am working with SUSE SLE distribution 10.2 and 11
i have a lan application say CRS at my server ip say 10.0.0.1
what i am doing now is accessing my lan application by typing 10.0.0.1/CRS on browser and what i want is to run it with a domain name locally on my lan say "myapp/CRS " on my browser
can i have some help here ...anyone ...thnx in advance.
make a entry in hosts
vi /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
xx.xx.xx.xx mail.mailers.in mail
~
nice suggestion guys but the thing is i already made this entry in /etc/hosts but still when i try to access it from my lan as myapp/crs....it redirects to the search engine ...
nice suggestion guys but the thing is i already made this entry in /etc/hosts but still when i try to access it from my lan as myapp/crs....it redirects to the search engine ...
What browser are you using?
AFAIK IE does this, while Firefox does not care. Anyway you can write http://myapp/crs (add the http://) in your browser address bar and see what you get
I am using Suse linux Enterprise server 10.2 and suse linux enterprise desktops having firefox as a default browser and the baove said problem is coming in firefox ...what actually i want to rectify...
yes its pinging....
well i some how managed to do that..
but still i have a question can there be a way so that i dont have to add hosts on my lan individually ...i mean it will automatically take the DNS information through server ....
Glad to see it's working now. You should give more details about what have you done to make it work.
Quote:
but still i have a question can there be a way so that i dont have to add hosts on my lan individually ...i mean it will automatically take the DNS information through server ....
For this you indeed need to setup a dns server, but you also need to use a domain name (eg. .local) and make sure your clients are using that dns for name resolution. In this case your box will be called myapp.local and adding in the /etc/resolv.conf of clients the following
Code:
domain .local
nameserver 10.0.0.1
will allow them to resolve both myapp.local and plain myapp hostnames.
Since you're running Suse this could be of help
Quote:
admin may mark this post as SOLVED.
You should mark the thread SOLVED using the "Thread Tools" on top of the page
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.