The Cache: Technology Expert's Forum
 
*
Welcome, Guest. Please login or register. September 19, 2019, 01:53:58 PM

Login with username, password and session length


Pages: [1]
  Print  
Author Topic: Can i get an tutorial on DNS and Website setup?  (Read 2788 times)
nutballs
Administrator
Lifer
*****
Offline Offline

Posts: 5627


Back in my day we had 9 planets


View Profile
« on: November 26, 2008, 08:15:05 PM »

Ok, I actually do know the apache aspect, however, I am looking for a clean way to do things.

I am trying to get a little more automated with my stuff, and want to eleminate domain setups from my manual process.
Under IIS with my old net, i had this fully automated, no sweat, but I am a bit out of it on linux.

I know assorted linux implementations are going to be a little different, but is there a way to make it consistent? like always us the same OS for example. most VPSs it seems offer CentOS minimal install as an option, so I would say that.

So like what DNS package to use, and how to setup these entries:
ns1.domain.com - NS record
ns2.domain.com - NS record
domain.com
*.domain.com

Then the same, just for completeness for apache?
setup of a wildcarded domain that points to a generic web folder. (every single site uses the same 1 folder and code files)

any guidance would be appreciated.
Logged

I could eat a bowl of Alphabet Soup and shit a better argument than that.
vsloathe
vim ftw!
Global Moderator
Lifer
*****
Offline Offline

Posts: 1669



View Profile
« Reply #1 on: November 26, 2008, 08:20:56 PM »


I'll see if I can find something for you. If not, I will write something up.

CentOS is the sauce, especially if you're not a terribly experienced sysadmin. All RH variants are imo.

Someday you will set up a BSD variant server and you'll never go back, though. Smiley
« Last Edit: November 26, 2008, 08:27:14 PM by vsloathe » Logged

hai
vsloathe
vim ftw!
Global Moderator
Lifer
*****
Offline Offline

Posts: 1669



View Profile
« Reply #2 on: November 26, 2008, 08:22:39 PM »

I'm switching everything to BIND9 after what I just read. I didn't realize how lax the IETF was being about Kaminsky's DNS vulnerability.
« Last Edit: November 26, 2008, 08:27:44 PM by vsloathe » Logged

hai
vsloathe
vim ftw!
Global Moderator
Lifer
*****
Offline Offline

Posts: 1669



View Profile
« Reply #3 on: November 26, 2008, 08:29:04 PM »

This tutorial isn't bad:

http://www.howtoforge.org/centos-5.1-server-lamp-email-dns-ftp-ispconfig-p4

But I'm not big on using third party tools to configure my stuff. You should be able to get a good handle just by googling "setup BIND9".
Logged

hai
perkiset
Olde World Hacker
Administrator
Lifer
*****
Offline Offline

Posts: 10096



View Profile
« Reply #4 on: November 26, 2008, 09:02:11 PM »

If it's a dedi Apache then rather than VirtualHosts you simply point the root httpd.conf at a dir and (perhaps) rewrite everything not graphics into a single php script. Not terribly tough from an Apache standpoint.
Logged

It is now believed, that after having lived in one compound with 3 wives and never leaving the house for 5 years, Bin Laden called the U.S. Navy Seals himself.
nutballs
Administrator
Lifer
*****
Offline Offline

Posts: 5627


Back in my day we had 9 planets


View Profile
« Reply #5 on: November 26, 2008, 09:20:15 PM »

actually i guess that makes sense perk, I just want to rewrite * to 1 directory. any domain. So i think I can figure that out.

the DNS stuff, yea I will lookup bind9 and read some tuts.

right now I am just trying to get this stupid VPS to actually install some stuff. lol
Logged

I could eat a bowl of Alphabet Soup and shit a better argument than that.
Pages: [1]
  Print  
 
Jump to:  

Perkiset's Place Home   Best of The Cache   phpMyIDE: MySQL Stored Procedures, Functions & Triggers
Politics @ Perkiset's   Pinkhat's Perspective   
cache
mart
coder
programmers
ajax
php
javascript
Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks


Valid XHTML 1.0! Valid CSS!