Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to know if this type of domain and subdomain organisation for our school is feasable, and if so, how.

We have 2 different servers, say SERVER1 and SERVER2

SERVER1 is for school-critical applications: our website,and our extranet SERVER2 is for each of our students and teachers 's websites. We plan to set Wordpress MU on it, so it will need a

We want to work with only one Top Level Domain: and have as many subdomains as we have websites/webapps.

for instance, i figure our DNS record should look like this. But is this correct?  - public website (SERVER1) - webserver (A Record) - public website (SERVER1)  - webserver (A Record)  - Extranet (SERVER1)  - webserver (A Record) -silent redirects to SERVER2, old website. (A Record) - points to SERVER1, mailserver   (MX Record priority 10)  - points to SERVER2, mailserver   (MX Record priority 20)

// a wildcard redirects any other requests to SERVER2

* - points to SERVER2

Is this feasible? And how should SERVER2 be configured, dns-wise?

share|improve this question

migrated from Aug 18 '09 at 11:18

This question came from our site for professional and enthusiast programmers.

This is entirely feasible. In bind, the wildcard line would look like this

*        IN      A
share|improve this answer
thanks. So that i understand you right: if the TLD Domain is pointed to SERVER1, that's where the DNS Record containing all the redirects should be, correct? How should SERVER 2 be configured ? It's a completely different machine, in another datacenter by another provider. It will have a DNS Record on its own DNS server too ? Thank you again for your time. – pixeline Aug 18 '09 at 11:30
You do not need to run any DNS server on SERVER2. Just run wordpress on it. You will need to configure your web-server to do name-based virtual hosting though. – sybreon Aug 18 '09 at 12:10
... Wich means adding a virtualhost for each student account (firstname-lastname.domain.tld) , exact? That's what you mean ? – pixeline Aug 18 '09 at 12:34
Or using the vhost_alias module in apache for bulk configuration, like you want in this case. – David Aug 19 '09 at 12:38

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.