If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

apache and subdomain

Hi all!

I and my friends bought a domain called lazyheads.com. The domain is forwarded to our home computer using our home IP address. We would like to use a subdomain called skeleti so the address would be skeleti.lazyheads.com.

I go to our registrar web page and add subdomain skeleti. I also redirect this subdomain to the same IP address as the main domain lazyhead.com.

Problem is, that even if I try to open lazyheads.com or skeleti.lazyheads.com I still get the same page. It looks like the my config changes does nothing to the server behavior. Anyone knows what am I doing wrong?

Is the server itself able to resolve those names? Have you tried it without the :80 on the end ? (it shouldn't be needed since 80 is the standard port)

EDIT: Compared what I have done on my server and what you have, and the only difference (aside from custom server configs) is that for the namevirtualhost and virtualhost directives, I used the actual default servername...really shouldn't matter though...apache is going to be looking at the Host: < > token that is passed by the browser ... and will compare that to the servername line ... the big thing is consistency in naming the virtualhost with the namevirtualhost...

There is only one constant, one universal, it is the only real truth: causality. Action. Reaction. Cause and effect...There is no escape from it, we are forever slaves to it. Our only hope, our only peace is to understand it, to understand the 'why'. 'Why' is what separates us from them, you from me. 'Why' is the only real social power, without it you are powerless.