Menu
News
All News
Dungeons & Dragons
Level Up: Advanced 5th Edition
Pathfinder
Starfinder
Warhammer
2d20 System
Year Zero Engine
Industry News
Reviews
Dragon Reflections
White Dwarf Reflections
Columns
Weekly Digests
Weekly News Digest
Freebies, Sales & Bundles
RPG Print News
RPG Crowdfunding News
Game Content
ENterplanetary DimENsions
Mythological Figures
Opinion
Worlds of Design
Peregrine's Nest
RPG Evolution
Other Columns
From the Freelancing Frontline
Monster ENcyclopedia
WotC/TSR Alumni Look Back
4 Hours w/RSD (Ryan Dancey)
The Road to 3E (Jonathan Tweet)
Greenwood's Realms (Ed Greenwood)
Drawmij's TSR (Jim Ward)
Community
Forums & Topics
Forum List
Latest Posts
Forum list
*Dungeons & Dragons
Level Up: Advanced 5th Edition
D&D Older Editions
*TTRPGs General
*Pathfinder & Starfinder
EN Publishing
*Geek Talk & Media
Search forums
Chat/Discord
Resources
Wiki
Pages
Latest activity
Media
New media
New comments
Search media
Downloads
Latest reviews
Search resources
EN Publishing
Store
EN5ider
Adventures in ZEITGEIST
Awfully Cheerful Engine
What's OLD is NEW
Judge Dredd & The Worlds Of 2000AD
War of the Burning Sky
Level Up: Advanced 5E
Events & Releases
Upcoming Events
Private Events
Featured Events
Socials!
EN Publishing
Twitter
BlueSky
Facebook
Instagram
EN World
BlueSky
YouTube
Facebook
Twitter
Twitch
Podcast
Features
Top 5 RPGs Compiled Charts 2004-Present
Adventure Game Industry Market Research Summary (RPGs) V1.0
Ryan Dancey: Acquiring TSR
Q&A With Gary Gygax
D&D Rules FAQs
TSR, WotC, & Paizo: A Comparative History
D&D Pronunciation Guide
Million Dollar TTRPG Kickstarters
Tabletop RPG Podcast Hall of Fame
Eric Noah's Unofficial D&D 3rd Edition News
D&D in the Mainstream
D&D & RPG History
About Morrus
Log in
Register
What's new
Search
Search
Search titles only
By:
Forums & Topics
Forum List
Latest Posts
Forum list
*Dungeons & Dragons
Level Up: Advanced 5th Edition
D&D Older Editions
*TTRPGs General
*Pathfinder & Starfinder
EN Publishing
*Geek Talk & Media
Search forums
Chat/Discord
Menu
Log in
Register
Install the app
Install
Community
Meta - Forums About Forums
Meta
Subdomain hassles
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Michael Morris" data-source="post: 2328814" data-attributes="member: 87"><p>I'm trying to get some subdomains working on a linux server at work. Once I figure this out there I'll probably use this same technique here someday.</p><p></p><p>Some help from our other technically savvy users would be appreciated - I'm going to continue to hunt on google of course while I wait.</p><p></p><p>Anyway, my company machine is hosting a set of pages for the local city government and it's departments. I am to set them up as follows</p><p></p><p><a href="http://www.williamsburgky.com" target="_blank">www.williamsburgky.com</a> <-- Main page, tourism pages</p><p>police.williamsburgky.com <-- Police page</p><p>firedept.williamsburgky.com <-- Fire Dept page</p><p>cityhall.williamsburgky.com <-- City Hall.</p><p></p><p>Eventually there will be others.</p><p></p><p>I created a zone file named williamsburgky.zone with these contents.</p><p></p><p>[code]$TTL 86400</p><p>$ORIGIN williamsburgky.com.</p><p>@ 1D IN SOA @ root.williamsburgky.com (</p><p> 100 ; serial</p><p> 3H ; refresh</p><p> 15M ; retry</p><p> 1W ; expiry</p><p> 1D ) ; minimum</p><p></p><p>1D IN NS @</p><p>1D IN A 70.147.81.213</p><p></p><p>police IN A 70.147.81.213</p><p>cityhall IN A 70.147.81.213</p><p>firedept IN A 70.147.81.213</p><p>[/code]</p><p></p><p>I created a reverse lookup file called master.zone and here are it's contents.</p><p></p><p>[code]$TTL 86400</p><p>; Remember zone name is 81.147.70.in-addr.arpa</p><p>@ IN SOA williamsburgky.com. root.williamsburgky.com (</p><p> 1 ; Serial</p><p> 28800 ; Refresh</p><p> 14400 ; Retry</p><p> 3600000 ; Expire</p><p> 86400 ) ; Minimum</p><p></p><p> IN NS williamsburgky.com.</p><p>1 IN PTR williamsburgky.com.</p><p>1 IN PTR police.williamsburgky.com</p><p>1 IN PTR firedept.williamsburgky.com</p><p>1 IN PTT cityhall.williamsburgky.com</p><p>[/code]</p><p></p><p>I started up named, and it's running so apparently there are no syntax errors. However, a dig command to the police.williamsburgky.com returns</p><p></p><p>[code]; <<>> DiG 9.3.0 <<>> police.williamsburgky.com</p><p>;; global options: printcmd</p><p>;; Got answer:</p><p>;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 46625</p><p>;; flags: qr; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0</p><p></p><p>;; QUESTION SECTION:</p><p>;police.williamsburgky.com. IN A</p><p></p><p>;; Query time: 340 msec</p><p>;; SERVER: 70.147.81.209#53(70.147.81.209)</p><p>;; WHEN: Tue Jun 14 14:59:37 2005</p><p>;; MSG SIZE rcvd: 43</p><p>[/code]</p><p></p><p>And an internal ping on the same machine for the address returns</p><p></p><p>[code]root@tekswork:/var/named# ping police.williamsburgky.com</p><p>PING police.williamsburgky.com.tekswork.com (70.147.81.210) 56(84) bytes of data.</p><p>64 bytes from adsl-070-147-081-210.sip.bgk.bellsouth.net (70.147.81.210): icmp_seq=1 ttl=255 time=2.08 ms</p><p>64 bytes from adsl-070-147-081-210.sip.bgk.bellsouth.net (70.147.81.210): icmp_seq=2 ttl=255 time=1.92 ms</p><p>[/code]</p><p></p><p>tekswork.com is our company's own domain, hosted on the same site. Machine 210 is our Windows 2003 machine, which was our prior webhost before I set up this linux machine (and I still need to set it up to receive queries to exchange.tekswork.com for our email services).</p><p></p><p>Anyway, any ideas?</p></blockquote><p></p>
[QUOTE="Michael Morris, post: 2328814, member: 87"] I'm trying to get some subdomains working on a linux server at work. Once I figure this out there I'll probably use this same technique here someday. Some help from our other technically savvy users would be appreciated - I'm going to continue to hunt on google of course while I wait. Anyway, my company machine is hosting a set of pages for the local city government and it's departments. I am to set them up as follows [url]www.williamsburgky.com[/url] <-- Main page, tourism pages police.williamsburgky.com <-- Police page firedept.williamsburgky.com <-- Fire Dept page cityhall.williamsburgky.com <-- City Hall. Eventually there will be others. I created a zone file named williamsburgky.zone with these contents. [code]$TTL 86400 $ORIGIN williamsburgky.com. @ 1D IN SOA @ root.williamsburgky.com ( 100 ; serial 3H ; refresh 15M ; retry 1W ; expiry 1D ) ; minimum 1D IN NS @ 1D IN A 70.147.81.213 police IN A 70.147.81.213 cityhall IN A 70.147.81.213 firedept IN A 70.147.81.213 [/code] I created a reverse lookup file called master.zone and here are it's contents. [code]$TTL 86400 ; Remember zone name is 81.147.70.in-addr.arpa @ IN SOA williamsburgky.com. root.williamsburgky.com ( 1 ; Serial 28800 ; Refresh 14400 ; Retry 3600000 ; Expire 86400 ) ; Minimum IN NS williamsburgky.com. 1 IN PTR williamsburgky.com. 1 IN PTR police.williamsburgky.com 1 IN PTR firedept.williamsburgky.com 1 IN PTT cityhall.williamsburgky.com [/code] I started up named, and it's running so apparently there are no syntax errors. However, a dig command to the police.williamsburgky.com returns [code]; <<>> DiG 9.3.0 <<>> police.williamsburgky.com ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 46625 ;; flags: qr; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;police.williamsburgky.com. IN A ;; Query time: 340 msec ;; SERVER: 70.147.81.209#53(70.147.81.209) ;; WHEN: Tue Jun 14 14:59:37 2005 ;; MSG SIZE rcvd: 43 [/code] And an internal ping on the same machine for the address returns [code]root@tekswork:/var/named# ping police.williamsburgky.com PING police.williamsburgky.com.tekswork.com (70.147.81.210) 56(84) bytes of data. 64 bytes from adsl-070-147-081-210.sip.bgk.bellsouth.net (70.147.81.210): icmp_seq=1 ttl=255 time=2.08 ms 64 bytes from adsl-070-147-081-210.sip.bgk.bellsouth.net (70.147.81.210): icmp_seq=2 ttl=255 time=1.92 ms [/code] tekswork.com is our company's own domain, hosted on the same site. Machine 210 is our Windows 2003 machine, which was our prior webhost before I set up this linux machine (and I still need to set it up to receive queries to exchange.tekswork.com for our email services). Anyway, any ideas? [/QUOTE]
Insert quotes…
Verification
Post reply
Community
Meta - Forums About Forums
Meta
Subdomain hassles
Top