Results 1 to 6 of 6
Thread: changing ip website?
-
12-23-2006, 11:23 AM #1Web Hosting Evangelist
- Join Date
- Jan 2006
- Location
- England
- Posts
- 463
changing ip website?
Hello,
I want to setup a page on my server with some information so when you visit my ip it shows this.
at the moment it is showing some ramdom account and i have no idea why.
how do i change it to display what i want.
my ip is http://91.186.4.73 and i am using cpanel.
dave.
-
12-23-2006, 11:34 AM #2LORD OF THE RINGS
- Join Date
- Dec 2005
- Location
- Internet
- Posts
- 1,352
Appears like you are sharing the IP address for some other domains. To show a page while calling the IP, add the entry
NameVirtualHost 91.186.4.73:80 above the virtualhost entries.
Also, create a virtualhost entry like below:
<VirtualHost 91.186.4.73>
DocumentRoot /path/to/ur/documentroot
</VirtualHost>
Let us know how it goesSenior Server Administrator
-
12-23-2006, 11:43 AM #3Web Hosting Evangelist
- Join Date
- Jan 2006
- Location
- England
- Posts
- 463
thanks, i think it is using that account because it is the first in my account list.
can i do this in the whm or do i need to look in the root files?
-
12-23-2006, 11:53 AM #4LORD OF THE RINGS
- Join Date
- Dec 2005
- Location
- Internet
- Posts
- 1,352
thanks, i think it is using that account because it is the first in my account list.
can i do this in the whm or do i need to look in the root files?
Let us know how it goes.Senior Server Administrator
-
12-23-2006, 12:01 PM #5Web Hosting Evangelist
- Join Date
- Jan 2006
- Location
- England
- Posts
- 463
fixed, thanks for all your help linuxcare.
much appreciated
-
12-23-2006, 12:03 PM #6LORD OF THE RINGS
- Join Date
- Dec 2005
- Location
- Internet
- Posts
- 1,352
Originally Posted by daveredfern
Happy X'mas and Prosperous New Year!!!Senior Server Administrator