LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-20-2005, 03:12 PM   #1
powadha
Member
 
Registered: Nov 2003
Location: Zwolle
Distribution: Arch
Posts: 651

Rep: Reputation: 31
DNS trouble, how to setup forums.domain.net?


This is probably easy stuff but I'm getting very confused. What I'm trying to do is create an extra virtual host for a forum on my apache server. Let's see what I got working:

1 I got a domain www.example.net

It's configured as an A record at the ISP and the config states:

example.net ---- ip adres

That's what I got and works. The site is configured as a virtual one on Apache on my server at home.

What I want is that forums.example.net ends up in its own www folder on the apache server. How to accomplish that?

I can create a subdomain as an A record or a Cname record at the ISP but after reading all kinds of howto's I'm not sure what to use or how. Should it be an CNAME record: forums.example.net pointing to example.net? That would make it end up in the www folder from example.net and typing it now already does that.

I guess I have to edit the apache server aswell, since typing forums.example.net makes me end up at example.net. I guess I have to delete the line: server alias *.example.net.

Pfff hope this makes any sence to you. The reason for all this is simple. Creating a forums.example.net on it's own www folder on the server makes it much easier for me to keep the site and forum stuff seperated.

Regards

Last edited by powadha; 09-20-2005 at 05:20 PM.
 
Old 09-20-2005, 04:43 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
I believe that if you place the forums.example.net virtualhost in apache FIRST, then the server alias can remain. Otherwise, you will need to get rid of that server alias.
 
  


Reply



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
Traceroute, Ping, Domain Name Server (DNS) Lookup, WHOIS, and DNS Records Lookup netoknet General 1 05-09-2005 03:43 AM
2003 .NET Server joining Samba Domain kofi Linux - Software 1 03-04-2004 02:20 PM
Dns 2 Domain u4113072 Linux - Networking 3 10-08-2002 04:42 PM
Domain, DNS is it possible Kaiser_Sose Linux - Networking 1 02-09-2002 10:10 PM
specifying dns domain chens_83 Linux - General 1 12-31-2001 09:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:07 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
Open Source Consulting | Domain Registration