hoi ik draai op windows 7 ultimate 64bit met xampp en mijn domeinen zijn bereikbaar op
www.rotterdamtorrents.nl en
www.joe-productions.nl nou heb ik een vraag
mijn domeinen alle geregistreert en geforward naar mijn pc ip werkt perfect op 1 ding na ze leiden allebij naar dezelfde website,
dus alles wordt verwezen naar htdocs,
inplaats naar de mappen joe-productions.nl en rotterdamtorrents.nl heb al zoveel verschillende vhost mogelijkheden toegepast maar zinloos ik zal hier effe mijn vhost.conf plaatsen.
alleen de domein naam
www.joe-productions.nl en
www.rotterdamtorrents.nl zijn geregistreert.
en wil graag dat deze naar hun eigen map worden door verwezen, want het staat er wel maar het werkt niet.
er is ergens een default regeltje bezig dat hij naar htdocs verwijst en niet naar de mappen die in de virtualhost vermeld staan.
En die andere website`s snap ik wel dat die alleen lokaal beschikbaar zijn want die hebben geen dns en zijn niet geforward ofzo.
ik weet het niet meer kan iemand mij helpen A U B eventueel de email:
joeywoldhuis@hotmail.com
Namevirtualhost *:80
<VirtualHost *:80>
ServerName localhost
DocumentRoot "J:/xampp/htdocs"
</VirtualHost>
<VirtualHost *:80>
ServerName
www.rotterdamtorrents.nl
ServerAlias rotterdamtorrents.nl
DocumentRoot "J:/xampp/htdocs/rotterdamtorrents.nl"
ServerAdmin
rotterdamtorrents@hotmail.com
ErrorLog "www.rotterdamtorrents.nl.log"
CustomLog "www.rotterdamtorrents.nl.log" combined
</VirtualHost>
<VirtualHost *:80>
ServerName
www.joe-productions.nl
ServerAlias joe-productions.nl
DocumentRoot "J:/xampp/htdocs/joe-productions.nl"
ServerAdmin
joe-productions@hotmail.com
ErrorLog "www.joe-productions.nl.log"
CustomLog "www.joe-productions.nl.log" combined
</VirtualHost>
<VirtualHost *:80>
ServerName tropicalflavour.nl
ServerAlias
www.tropicalflavour.nl
DocumentRoot "J:/xampp/htdocs/tropicalflavour.nl"
ServerAdmin
tropicalflavour@upcmail.nl
ErrorLog "www.tropicalflavour.nl.log"
CustomLog "www.tropicalflavour.nl.log" combined
</VirtualHost>
<VirtualHost *:80>
ServerName joecomputerfix.nl
ServerAlias
www.joecomputerfix.nl
DocumentRoot "J:/xampp/htdocs/joecomputerfix.nl"
ServerAdmin
joe-productions@hotmail.com
ErrorLog "www.joecomputerfix.nl.log"
CustomLog "www.joecomputerfix.nl.log" combined
</VirtualHost>
<VirtualHost *:80>
ServerName rotterdamstyle.nl
ServerAlias
www.rotterdamstyle.nl
DocumentRoot "J:/xampp/htdocs/rotterdamstyle.nl"
ServerAdmin
joe-productions@hotmail.com
ErrorLog "www.rotterdamstyle.nl.log"
CustomLog "www.rotterdamstyle.nl.log" combined
</VirtualHost>
<VirtualHost *:80>
ServerName Get-Movies-Music-Games-Software.nl
ServerAlias
www.Get-Movies-Music-Games-Software.nl
DocumentRoot "J:/xampp/htdocs/Get-Movies-Music-Games-Software.nl"
ServerAdmin
joe-productions@hotmail.com
ErrorLog "Get-Movies-Music-Games-Software.nl.log"
CustomLog "Get-Movies-Music-Games-Software.nl.log" combined
</VirtualHost>
en hier mijn host bestand
127.0.0.1 localhost
127.0.0.1
www.joecomputerfix.nl alleen lokaal zichtbaar
127.0.0.1
www.rotterdamstyle.nl alleen lokaal zichtbaar
127.0.0.1
www.tropicalflavour.nl alleen lokaal zichtbaar
127.0.0.1
www.joe-productions.nl lokaal en online alleen verwijst naar htdocs inplaats van de map joe-productions.nl
127.0.0.1
www.rotterdamtorrents.nl lokaal en online alleen verwijst naar htdocs inplaats van de map rotterdamtorrents.nl
127.0.0.1 Get-Movies-Music-Games-Software.nl alleen lokaal zichtbaar
wat gek is aan dit is dat de apache vhost.conf het wel doet op de pc waar de server op staat dus lokaal wel, maar voor de buiten wereld niet.
hoe krijg ik het voor elkaar om de vhost ook openbaar goed werkent te krijgen. want ik heb 2 geregistreerde domeinen en wil dus ook 2 verschillende websites.