PDA

View Full Version : Virtual Hosts not working, feisty perfect setup


j.turner
23rd April 2007, 09:59
I did the feisty perfect server setup guide, twice, command by command.
The humble server is a HP celeron 1gig 2ghz Ubuntu feisty fawn

Each time I setup the server, everything appears to be ok, but all created sites point to the first created site.

i.e.
I made a new client "justin"
New website hyper-hack.com (dns yes)
Everything looks fine, welcome page is hooked up.
Justin > new website unlimited-memories.com (dns yes)

Both sites point to the same directory. (hyper-hack.com's) i have the php info() @hyper-hack.com

What is wrong?!

*update, I deleted unlimited-memories, emptied recycle bin, and ispconfig crashed. I tried to reboot it, nothing. I am under a cisco router, but I put it in the DMZ, so no ports are blocked.

*setup - godaddy hyper-hack.com domain ns is ruby1.c2global.com = 66.69.71.250
66.69.71.250 is the troubled dns server. The sites are hosted on the same machine.
Dns report for hyper-hack.com (http://www.dnsstuff.com/tools/dnsreport.ch?domain=hyper-hack.com)

till
23rd April 2007, 10:37
1) Has the website www.hyper-hack.com a co domain hyper-hack.com with empty hostname? If not, create it.

2) does the domain hyper-hack.com point to the IP address of your server? You will have to wait up to 48 hours until DNS chnages, so dont expect that a change in DNS is visible instantly!

3) You muts connect to the website by domain adn not IP address.

j.turner
23rd April 2007, 14:04
I created a codomain hyper-hack.com with no hostname.
The domain has been pointing towards the dns server for over 2 weeks.

Now hyper-hack.com points towards my root directory /var/www
Now unlimited-memories.com points towards it also.

One thing to note is that the dns server is also the web server.

j.turner
23rd April 2007, 17:32
I fixed it it by changing the server ip in management > settings to it's internal ip.
Then the a record to the server internal ip.

I don't think ispconfig is clear about what ip to put in, but perhaps I'm probably just too new to understand. Thanks for your help!

Now time to hook up ruby on rails to it. :( :rolleyes: