DNS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationDNS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old February 2nd, 2004, 03:08 PM
Vjar Vjar is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 2 Vjar User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question Apache VirtualHost configuration for domain under nameserver bind9

I configured DNS (bind9) and Apache in FreeBSD 4.7 (IP: 192.168.1.1).
My server name on FreeBSD - myserver.mydomain.com
This server configuration:

1. /etc/resolv.conf
domain mydomain.com
nameserver 192.168.1.1

2. Bind config:
I have domain:
mydomain.com
This domain hosts:
server (192.168.1.1) - server and DNS-server (FreeBSD)
site1 (192.168.1.1)
site2 (192.168.1.1)
xpcomp (192.168.1.10)

3. Apache config (httpd.conf):

NameVirtualHost myserver.mydomain.com

<VirtualHost site1>
ServerName site1.mydomain.com
ServerAlias site1
DocumentRoot /usr/local/proj/site1/html
ErrorLog /usr/local/proj/site1/_log/error_log
CustomLog /usr/local/proj/site1/_log/access_log common
</VirtualHost>

FreeBSD is a Virtual Mashine (based on VMWare Workstation 4) under WinXP.
In Windows XP Lan config I wrote:
DNS -> 192.168.1.1.

My Computer settings:
Name: xpcomp
Workroup: MyWorkgroup
DNS suffix: mydomain.com

When I in browser load my local site with url http://site1/ I want, that
browser automatically to the end of base url addes domain name in bind config.
Examples:
http://site1/ -> http://site1.mydomain.com
http://site1/test/index.html -> http://site1.mydomain.com/test/index.html

How can I make this think? What config i need to correct: apache, bind or
something another? (I can show my bind config files)

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationDNS > Apache VirtualHost configuration for domain under nameserver bind9


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway