hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : Website on an IP
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

Website on an IP

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 01-21-2006, 09:35 AM
Gambit06 Gambit06 is offline
New Member
 
Join Date: Jan 2006
Posts: 3

Website on an IP


Hi there, i have just purchased my first server, its setup to use WHM and cpanel.

I was wondering how i can setup and account so that when i navigate to the main IP. It comes up with a webpage. Right now i get a webpage saying:

Quote:

You are seeing this page because there is nothing configured for the site you have requested. If you think you are seeing this page in error, please contact the site administrator or datacenter responsible for this site.
I have tried to setup an IP account in WHM with no domain. But it simply tells me that the blank domain is not valid.

I'm a complete n00b at this so please be gentle

Thanks

Reply With Quote


Sponsored Links
  #2  
Old 01-21-2006, 06:31 PM
LP560 LP560 is offline
Web Hosting Evangelist
 
Join Date: Apr 2005
Location: Tinterweb
Posts: 546
You need to alter your httpd.conf file.

You should find something like this in the file:

<VirtualHost **YOUR IP**>
ServerAlias **YOUR DOMAIN **YOUR DOMAIN**
ServerAdmin **YOUR EMAIL ADDRESS**
DocumentRoot /home/*YOUR USERNAME**/public_html
BytesLog domlogs/*YOUR DOMAIN**-bytes_log
<IfModule mod_php4.c>
php_admin_value open_basedir "/home/**USERNAME**/:/usr/lib/php:/usr/local/lib/php:/tmp"
</IfModule>
<IfModule mod_userdir.c>
UserDir disabled
UserDir enabled *username*
</IfModule>
ServerName **DOMAIN NAME**
User *username*
Group *username*
CustomLog domlogs/*domain* combined
ScriptAlias /cgi-bin/ /home/*username*/public_html/cgi-bin/
</VirtualHost>


Where it says **YOUR DOMAIN **YOUR DOMAIN**

Type:
your ip www.yourdomain.com yourdomain.com

So it should look something like this:
123.23.12.123 www.domain.com domain.com

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
VIDEO: Yola CEO Talks About Website Builder and Web Hosting Partners Whir Tv 2012-09-28 15:43:17
Video Demo: Yola Website Building Software Whir Tv 2012-05-14 16:05:42
WHIR Demo: SiteLock Website Malware Scanning Whir Tv 2012-02-20 12:59:15
Canadian Web Host 4GoodHosting Launches New Mobile Website Builder Application Web Hosting News 2012-02-02 17:02:36
Web Host Action Web Group Launches Website Redesign Web Hosting News 2011-12-28 20:47:42


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?