Apache2Triad Help, Support and Development Forum Index Search Profile Log in to check your private messages Log in Register Memberlist Attachments Statistics Crew/Ranks Archive
 Virtual Hosts Problem
Google
Post new topic Reply to topic
Author Message
Twirp
 
 


Joined: 07 May 2005
Posts: 14
Location: Md

PostPosted: Sun Nov 13, 2005 11:01 pm Reply with quoteBack to top

So it was working, then it stopped working when I tried adding another virtual host.
the code before was:
Code:

# --DomainNames--

<VirtualHost *>
    ServerAdmin mwallio@gmail.com
    DocumentRoot G:/apache2triad/htdocs/
    ServerName twirp.cjb.net
    ErrorLog logs/twirp.cjb.net-error_log
    CustomLog logs/twirp.cjb.net-access_log common
</VirtualHost>

# +Domain

<VirtualHost *>
    ServerAdmin mwallio@gmail.com
    DocumentRoot G:/apache2triad/htdocs/69.251.66.165
    ServerName 69.251.66.165
    ErrorLog logs/69.251.66.165-error_log
    CustomLog logs/69.251.66.165-access_log common
</VirtualHost>

# +Domain

<VirtualHost *>
    ServerAdmin mwallio@gmail.com
    DocumentRoot G:/apache2triad/htdocs/kawaii-memories.cjb.net
    ServerName kawaii-memories.cjb.net
    ErrorLog logs/kawaii-memories.cjb.net-error_log
    CustomLog logs/kawaii-memories.cjb.net-access_log common
</VirtualHost>

# +Domain

<VirtualHost *>
    ServerAdmin mwallio@gmail.com
    DocumentRoot G:/apache2triad/htdocs/work
    ServerName work.twirp.cjb.net
    ErrorLog logs/work.twirp.cjb.net-error_log
    CustomLog logs/work.twirp.cjb.net-access_log common
</VirtualHost>


But then I did some playing around with domain names, and changed it to:
Code:

# --DomainNames--

<VirtualHost *>
    ServerAdmin mwallio@gmail.com
    DocumentRoot G:/apache2triad/htdocs/
    ServerName twirp.cjb.net
    ErrorLog logs/twirp.cjb.net-error_log
    CustomLog logs/twirp.cjb.net-access_log common
</VirtualHost>

# +Domain

<VirtualHost *>
    ServerAdmin mwallio@gmail.com
    DocumentRoot G:/apache2triad/htdocs/69.251.66.165
    ServerName 69.251.66.165
    ErrorLog logs/69.251.66.165-error_log
    CustomLog logs/69.251.66.165-access_log common
</VirtualHost>

# +Domain

<VirtualHost *>
    ServerAdmin mwallio@gmail.com
    DocumentRoot G:/apache2triad/htdocs/kawaii-memories.cjb.net
    ServerName kawaii-memories.cjb.net
    ErrorLog logs/kawaii-memories.cjb.net-error_log
    CustomLog logs/kawaii-memories.cjb.net-access_log common
</VirtualHost>

# +Domain

<VirtualHost *>
    ServerAdmin mwallio@gmail.com
    DocumentRoot G:/apache2triad/htdocs/work
    ServerName work.twirp.cjb.net
    ErrorLog logs/work.twirp.cjb.net-error_log
    CustomLog logs/work.twirp.cjb.net-access_log common
</VirtualHost>

# +Domain

<VirtualHost *>
    ServerAdmin mwallio@gmail.com
    DocumentRoot G:/apache2triad/htdocs/tails
    ServerName tails.be
    ErrorLog logs/tails.be-error_log
    CustomLog logs/tails.be-access_log common
</VirtualHost>

# +Domain

<VirtualHost *>
    ServerAdmin mwallio@gmail.com
    DocumentRoot G:/apache2triad/htdocs/
    ServerName home.two-tails.net
    ErrorLog logs/home.tails-tails.be-error_log
    CustomLog logs/home.two-tails.net-access_log common
</VirtualHost>


and it didn't work.

So I changed it back and it still didn't work...
I restarted my computer and restarted apache a few times...

All I can do is access it via localhost or 127.0.0.1
and I tried running it on different ports, and those don't work either.
View user's profileSend private messageAIM AddressYahoo MessengerMSN Messenger
Display posts from previous:      
Post new topic Reply to topic


 Jump to:   



View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
Powered by phpBB © 2001, 2002 phpBB Group :: FI Theme
All times are GMT