XAMPP+BIND

Problems with the Linux version of XAMPP, questions, comments, and anything related.

XAMPP+BIND

Postby iDoux » 13. October 2010 16:46

Well here is the scenario...
I have three machines, one is DNS that have BIND, the second have the XAMPP install, and the other one is just a PC, we use it to check our pages, the first two uses Centos 4 and the other one Windows XP, we navigate with Firefox 3.
Now our problem is that we have our vhost file configured with two vhosts, site1 and site2, the both are inside htdocs, but when i try to access site1 it goes to the htdocs root instead of going to the site1 folder, ihave to say that site1 is the name of the machine running XAMPP too, i dont know if that's a problem. Well here is my httpd-vhost.conf and my directory tree:
*****
/opt
----/lampp
--------/htdocs
------------/site1
------------/site2
*****
# Use name-based virtual hosting.
NameVirtualHost *:80

<VirtualHost *:80>
ServerAdmin myname@example.com
DocumentRoot /opt/lampp/htdocs/site1
ServerName site1
ServerAlias site1
ErrorLog logs/site1-error_log
CustomLog logs/site1-access_log common
</VirtualHost>

<VirtualHost *:80>
ServerAdmin myname@example.com
DocumentRoot /opt/lampp/htdocs/site2
ServerName site2
ServerAlias site2
ErrorLog logs/site2-error_log
CustomLog logs/site2-access_log common
</VirtualHost>
*****

Now the vhost is well configured i think, but how i configure the bind?
Again i must say that is just for internal purpose so we dont need a domain like .com or .net after the site name i think....
Well hope you can help me... im still reading posts and articles about this and nothing seems to work...
iDoux
 
Posts: 3
Joined: 13. October 2010 16:28

Re: XAMPP+BIND

Postby Nobbie » 13. October 2010 21:04

iDoux wrote:Now the vhost is well configured i think, but how i configure the bind?
Again i must say that is just for internal purpose so we dont need a domain like .com or .net after the site name i think....


"Bind" is not part of the Xampp Package, so I dont expect any support for it in this forum.

Anyway, i have a certain feeling that "bind" is a clear overkill for a simple task like that. I would simply go for the "old-fashioned" way and insert a couple of lines in the hosts file (/etc/hosts) of your server (and every client), instead of setting up a full featered DNS Server.
Nobbie
 
Posts: 6918
Joined: 09. March 2008 13:04

Re: XAMPP+BIND

Postby iDoux » 13. October 2010 21:31

Nobbie wrote:"Bind" is not part of the Xampp Package, so I dont expect any support for it in this forum.

Anyway, i have a certain feeling that "bind" is a clear overkill for a simple task like that. I would simply go for the "old-fashioned" way and insert a couple of lines in the hosts file (/etc/hosts) of your server (and every client), instead of setting up a full featered DNS Server.


Sorry i didnt put this in here, but we had the XAMPP in a Windows Server 2003 running and withouth any problem with a Windows DNS Server, then we changed everything to Centos and the problems started, so i thought maybe just making some adjustments in the XAMPP configuration everything would be fine, and yep we do need that DNS Server, in the example is just three machines but here at work, the DNS is for at least 60 PCs and the XAMPP is the Intranet Server... but what you tell me is that i have to go one by one PC and configure every host file?
Well in the case that i cant get help here, can you give me some link to a bind forum that is related to this problem?
Thanks in advance.
iDoux
 
Posts: 3
Joined: 13. October 2010 16:28

Re: XAMPP+BIND

Postby Nobbie » 13. October 2010 21:59

iDoux wrote: can you give me some link to a bind forum that is related to this problem?


Sorry, but I cannot.
Nobbie
 
Posts: 6918
Joined: 09. March 2008 13:04

Re: XAMPP+BIND

Postby buttonmasher » 04. August 2011 16:10

Hey Guys,

Not coming here with the intention of reviving year old posts, but i have an answer so I thought I might as well post it. There is a forum called Tek Tips that has a lot of people with knowledge on BIND. Hopefully this link is still helpful, I'll break it up if for some reason you think I'm trolling, this should be a legitimate help. I found this forum while I was looking for help with excel recovery after I had a disastrous computer crash, and found there to be a ton of useful information.

http: //www.tek-tips.com/ threadminder.cfm ?pid=950
buttonmasher
 
Posts: 1
Joined: 26. July 2011 16:53

Re: XAMPP+BIND

Postby JonB » 08. August 2011 01:14

but, of course that is what you are doing, along with your other-embedded off-topic SPAM

:shock:
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
XAMPP Version: 1.8.3-2
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: XAMPP+BIND

Postby iDoux » 07. February 2012 17:48

After more than a year, i check for this kind of problem again, that site is really sueful, thanks a lot...
i was looking for an answer and start reading this psot, but i dint saw the author, and i say to myself: "wow, this guy is really fuck up, like me, lets see what they said to him..." then i found out it was me in 2010... damn...
iDoux
 
Posts: 3
Joined: 13. October 2010 16:28

Re: XAMPP+BIND

Postby Altrea » 07. February 2012 19:43

Thank you very much for your post.
You just made my day :lol:
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 6754
Joined: 17. August 2009 13:05
XAMPP Version: 5.5.19
Operating System: W7Ux64


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 3 guests