LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-03-2008, 05:13 AM   #1
waji
LQ Newbie
 
Registered: Jun 2008
Posts: 8

Rep: Reputation: 0
zone file description


Hi,

Can anyone inform me what does it mean in DNS zone file $ and @

Also let me know what my website is opening with URL: hxxp://www.example.com but not opening with hxxp://example.com

Is it DNS issue or apache serveraliases issue?

Last edited by waji; 07-03-2008 at 05:14 AM.
 
Old 07-03-2008, 05:50 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,518

Rep: Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501
Quote:
Can anyone inform me what does it mean in DNS zone file $ and @
There are 3 directives starting with the "$" ($ORIGIN, $INCLUDE and $TTL)
@ is the same as $ORIGIN. Take a look here for details.
Quote:
Also let me know what my website is opening with URL: hxxp://www.example.com but not opening with hxxp://example.com

Is it DNS issue or apache serveraliases issue?
If both example.com and www.example.com resolve to the same IP address, then it's an apache ServerAlias issue.
 
Old 07-03-2008, 06:02 AM   #3
waji
LQ Newbie
 
Registered: Jun 2008
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
If both example.com and www.example.com resolve to the same IP address, then it's an apache ServerAlias issue.
There is one A record for www
www A 192.168.5.5

Could you tell me what record I have to write for example.com
 
Old 07-03-2008, 06:19 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,518

Rep: Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501
You can use the $ORIGIN or @:
Code:
@ IN A 192.168.5.5
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to share a ZFS file system between a global zone and a non global zone? crisostomo_enrico Solaris / OpenSolaris 7 11-28-2007 09:20 AM
Zone file problem dute105 Linux - Networking 3 09-20-2005 11:30 PM
file description apache mjenkins Linux - General 2 04-08-2004 01:32 AM
Zone File Nezar Linux - Networking 1 06-10-2001 03:29 PM
How can I open more than 2000 file description at the moment? zhnt Linux - General 2 04-08-2001 09:30 PM


All times are GMT -5. The time now is 04:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration