View Full Version : shared IP - one website on DA
wannaknow
06-22-2008, 09:23 AM
hi,
i've just successfully installed DA on new server and configured one site that is running there.
However, when i open URL with server's IP i see default apache message
"Hey, it worked !
The SSL/TLS-aware Apache webserver was
successfully installed on this website" etc
I only plan to host one single website on this machine. Is there way to configure apache/DA such way that when opening server's IP it will show that website ?
nobaloney
06-22-2008, 02:25 PM
Where did you configure the domain? Is the IP# for the user set properly?
What's the domain name? What's the IP#?
Jeff
wannaknow
06-24-2008, 07:21 AM
server ip: 212.235.65.249
should really display the only website hosted there:
http://www.dateland.co.il
---------
notes: i have only one IP for this server and i want it to be private, not shared, how can i setup this ?
nobaloney
06-24-2008, 11:35 AM
It works from here.
Gee, can I move to Israel ;) ?
Jeff
wannaknow
06-24-2008, 12:11 PM
dont worry, not all women are beautiful here ;)
the website works, but open http://212.235.65.249/ - it gives apache message instead of opening the website...
nobaloney
06-25-2008, 07:30 PM
Now I understand your point.
Even though you've got only one domain on the server, the server is still set up to use the IP# as a shared IP#. DirectAdmin requires a "server" IP#, which is shared.
You can make manual changes to the httpd.conf file so that apache looks for the main site at /var/www/html instead of at /home/USERNAME/domains/dateland.co.uk/public_html.
Jeff
wannaknow
06-26-2008, 02:47 AM
won't DA overwrite this changed httpd.conf ?
nobaloney
06-28-2008, 10:18 AM
Not in my experience. I think that happens when you update from 1.x to 2.x, but otherwise not.
Jeff
Powered by vBulletin™ Version 4.0.4 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.