[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Help with URL for non virtual domain with no DNS entry.
- Subject: Re: [cobalt-users] Help with URL for non virtual domain with no DNS entry.
- From: Jeff Lasman <jblists@xxxxxxxxxxxxx>
- Date: Thu May 18 21:43:29 2000
- Organization: nobaloney.net
Gary - Sitegen wrote:
> This is my fourth submission with no answer.
Evidently you think you are entitled to an answer. What makes you think
that?
> This is the most basic question that I can imagine. I can't believe NO ONE
> has an answer. I create a virtual web site and want to view it before I make
> an entry for the site into the DNS.
I and others have had several answers for this in the past. They're all
archived at the Cobalt site.
> WHAT IS THE PATH?!?!?!?!
The path is /home/sites/siteX/web.
Now tell me how knowing that is going to help you <wry grin>.
> And please don't tell me how to make a DNS entry. I already know that. I
> can't make a DNS entry because the site already is live somewhere else and I
> am try to view the new site on the RAQ3i server before I make it live.
You're missing something quite obvious. There are only two ways you can
map a site to the outside world via apache using virtual hosting with
one IP#.
The first is probably the best, but it requires planning BEFORE you add
any sites to the IP#.
Simply, you create the FIRST site at that IP# as a menu to the other
sites.
You write a menu system in html to jump to subdirectories called
"urlname" with "urlname" being the urlname for the new site.
And you create not subdirectories named "urlname" but rather dynamic
links called "username" to /home/sites/siteX/web.
AND you make changes to /etc/httpd/conf/http.conf to allow apache to
follow the symbolic links to these directories. That'll work ONLY if
your websites are properly designed with relative calls.
The second is a bit more forgiving.
You DO create DNS records. You're yelling, but you're wrong. You CAN
make a dns record. Just make it for sitename.yourdomain.com and add it
as a ServerAlias line. No one ever said that you had to add the real
name to DNS only that you had to add a name to DNS that apache could
find.
Of course, once again, your html has to be properly written for this to
work, as well.
Or you can keep yelling. It might help.
Jeff
--
Jeff Lasman <jblists@xxxxxxxxxxxxx>
nobaloney.net
P. O. Box 52672
Riverside, CA 92517
voice: (909) 787-8589 * fax: (909) 782-0205