Results 1 to 4 of 4

Thread: Need Help with Apache SubDomains

  1. #1
    Junior Member
    Join Date
    Jul 2004
    Posts
    2
    im completely stuck on trying to create subdomains. This is what I have so far in my Virutal Hosts:

    <VirtualHost *:80>
    ServerAlias www.gerbitz.nextmillenniumhosting.com gerbitz.nextmillenniumhosting.com
    ServerAdmin webmaster@nextmillenniumhosting.com
    DocumentRoot /gerbitz/
    ServerName gerbitz.nextmillenniumhosting.com
    ErrorLog logs/nextmillenniumhosting.com-error_log
    CustomLog logs/nextmillenniumhosting.com-access_log common
    # ScriptAlias /cgi-bin/ /home/sgerbitz/public_html/cgi-bin/
    # ScriptAlias /omail/ /omail/
    </VirtualHost>

    For some reasons when I restart apache, I get the document for this to show as the main.

    for my hosts log, i have:

    66.235.205.149 nextmillenniumhosting.com
    66.235.205.149 gerbitz.nextmillenniumhosting.com


    Have I missed something?

  2. #2
    AO French Antique News Whore
    Join Date
    Aug 2001
    Posts
    2,126
    This a 2 years old thread!! Don't reply to old thread please! Create your own thread if you have a question!
    -Simon \"SDK\"

  3. #3
    Just a Virtualized Geek MrLinus's Avatar
    Join Date
    Sep 2001
    Location
    Redondo Beach, CA
    Posts
    7,323
    Sigh. There seems to be a few around today. Another new thread created, appropriate titled applied and moved.
    Goodbye, Mittens (1992-2008). My pillow will be cold without your purring beside my head
    Extra! Extra! Get your FREE copy of Insight Newsletter||MsMittens' HomePage

  4. #4
    Just Another Geek
    Join Date
    Jul 2002
    Location
    Rotterdam, Netherlands
    Posts
    3,401
    I'm not sure what you want...

    Do you want 2 different websites running on the same ip address?
    Did you also add the subdomains to your DNS?
    Where's your default site pointing to?
    Are you using Apache 2.0.x or 1.3.x?
    Oliver's Law:
    Experience is something you don't get until just after you need it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •