View Full Version : Shared IP Page
AtomicRax
02-20-2004, 07:06 PM
I have a shared IP on my server, and DA has a page that you can set for it to show if someone tries to access the IP. How ever, when I access the IP through the web, all I get is "Apache is functioning normally" which is not the page I have set.
I think it has to do with permissions, but I can be wrong.
Any ideas?
Thanks.
Icheb
02-21-2004, 02:12 AM
I don't know if it's the same with FreeBSD since I do not know what you are using, but I think you need to edit the pages at /var/www/html/.
This is the place where the page of the first shared IP goes. Haven't tried other IP's yet...
Normally you should remove the index.html page and add something else here, like a index.php which relays a user to your own webpage ;)
ProWebUK
02-21-2004, 03:10 AM
Originally posted by AtomicRax
I have a shared IP on my server, and DA has a page that you can set for it to show if someone tries to access the IP. How ever, when I access the IP through the web, all I get is "Apache is functioning normally" which is not the page I have set.
I think it has to do with permissions, but I can be wrong.
Any ideas?
Thanks.
A users domain can be previewed through
http://IP/~user/
http://IP/
is equal to:
/var/www/html
(as icheb pointed out)
If you want to change what is shown on the file simply edit the index file in /var/www/html.
Chris
AtomicRax
02-21-2004, 09:36 AM
Then what is /home/admin/domains/sharedip for? DA put the folder there, not me.
DirectAdmin Support
02-21-2004, 01:35 PM
Hello,
sharedip is for when you access the IP with http://1.2.3.4 ... if the sharedip virtualhost didn't exist, then you'd see the first website that was setup in the httpd.conf files.
John
frednoob
04-04-2008, 11:25 PM
how to enable user to see their page using this http://0.0.0.0/~user
Powered by vBulletin™ Version 4.0.4 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.