LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 10-12-2003, 10:05 PM   #1
pzorn
LQ Newbie
 
Registered: Oct 2003
Posts: 5

Rep: Reputation: 0
Apache and Subdomains, Help


Hi I am trying to setup subdomains with Apache 2, I have got the records in my DNS but Not sure what is going on?

It worked with apache 1.3, but don't know why its not working for Apache 2.

Here is part of my httpd.conf file.
Quote:
NameVirtualHost 64.78.149.110

<VirtualHost 64.78.149.110>
ServerAdmin webmaster@mydomain
DocumentRoot /var/www/html/my/
ServerName mydomain.
</VirtualHost>

<VirtualHost 64.78.149.110>
ServerAdminwebmaster@mydomain.
DocumentRoot /var/www/html/my/
ServerName my.mydomain.
</VirtualHost>
They do have the .com on them but since I don't have 5 post, and it auto adds urls then i just dropped the .com

I am not sure what to go or whatelse to do. Any help would be great, thanks.
 
Old 10-18-2003, 11:04 AM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 194Reputation: 194
Instead of <VirtualHost IP-Address> try just putting the wildcard instead there like:

<VirtualHost *>

Restart Apache and test..

Also, you have your own DNS or using some other service, etc?
 
Old 01-27-2004, 07:00 PM   #3
Big Brad
Member
 
Registered: Jul 2003
Location: Australia, Geelong
Distribution: Red Hat 8 & Fedora Core 3
Posts: 52

Rep: Reputation: 15
Ok guys I am having some of the same trouble. Except I can't get the DNS records right. I want to montrose.bjc.id.au as a subdomain but can't work out the DNS records. Please if someone could give me explanation of each dns record and what they do.
 
  


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 On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
APACHE and Subdomains basketkase999 Linux - Software 18 05-21-2005 10:38 PM
Apache VirtualHost, multiple domains and subdomains chrisfx Linux - Networking 2 08-10-2004 02:58 PM
apache userdir subdomains kodon Linux - Networking 7 08-09-2004 07:16 PM
Subdomains & Apache Vhosts Big Brad Linux - Newbie 8 01-28-2004 09:36 PM
accessing subdomains through network (apache) niehls Linux - Networking 3 03-16-2003 04:29 PM


All times are GMT -5. The time now is 11:10 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration