PDA

View Full Version : Installation/configuration Help


anythinghost
2003-08-07, 14:44 PM
I am new at this and I have quickly discovered that as soon as someone got your money; well lets just say: "your on your own"
Anyway, I need alot of help just configuring the setup. I am willing to pay a reasonable fee for help. Anyone interested email me at hudsonmarketing@houston.rr.com However, I do not want to pay $15.00 for a ticket and then get some highly incomplete and confusing answer that turns out to be wrong afterall.

Here is a couple of questions to see if anyone can offer some advise.
1. I set up a server called host1.anythinghost.com
2. I create an account called anythinghost.com and have the nameservers pointed towards serverbeach nameservers.

What I am noticing is that when I login to the main root cpanel and at the top it says: "welcome yourdomain.com" I also have a seperate cpanel for anythinghost.com for whick I created. Did I do something wrong here? If so how do I rectify the problem. It seems that host1.anythinghost.com doesn't do anything You type that name in your browser and page can not be found. But if you type the url numbers in, then you get the apache page stating that it worked. I also installed a trail ssl for host1.anythinghost.com and nothing works.

3. I had purchased a program called HostAdmin from dreamcost.com. With it comes a mod for cpanel. In the instructions it has path: /usr/local/cpanel/Cpanel/Accounting.php.inc Where would I find something like this because I looked in /usr/local/cpanel and then their is nothing. Do I need to purchase something else? Please advise. (I am wanting to set this up for automatic account creation but if I can't get the server going then it is useless.

Thanks for all the help that I can get.

charlie
2003-08-07, 18:53 PM
If you found some for-hire help, that's great. But I don't think you really need that if you have a little time and patience. I'm sure there are lots of people here that are willing to help you out.

There is a tutorial, sort of basics on CPanel that someone posted before in the cpanel forums. That's a good start (http://forums.cpanel.net). I think serverbeach warns you about being on your own. I remember reading something about that when i signed up. =) But don't worry you're not really alone.

I think you're getting a little confused with cpanel and whm and your hostname...

I'm not sure where you are having confusion so let's look at this scenario...

say you bought a server from serverbeach. they recommend you choose a servername like server1.mydomain.com. this is just a hostname for that box (probably stored in their records and scripts too, but for your purpose it's the name of the box).

whm and cpanel are two different software products that work together. whm is for the overall administrator for the SERVER, cpanel is to manage a site, including e-mail, web, ftp, and files for their directories.

now what you do is you log into whm to configure everything. sounds like you're already familiar with it. by accessing http://my.ip.address.here:2086 or http://server1.mydomain.com:2086. Reality is that you can use any domain you host on that ip with :2086 to access it, also. You can put http://www.siteihost1.com:2086 or http://www.siteihost2.com:2086, etc. Any site you host as long as it resolves back to that IP. It looks at your login not the domain name. Remember you should type "http://" when adding ports like :2086 to a URL so that it knows it's a web page.

If it's your first time in WHM, it should wizard you through, including configuring your name resolvers.

If you go to http://my.ip.address.here:2082 it will take you to the cpanel for your "default" site. in essence what it is, is this... when someone goes to a site you host like... http://www.siteihost.com, it goes to your server and then your server reads the http message header that has the www.siteihost.com string in it and then sends that person to the siteihost.com folder with its particular settings. But if someone uses your ip address, it doesn't have this header and therefore doesn't map any particular folder so it takes you to the "default" or main site page configured in apache.

If you go to http://www.siteihost.com:2082 and use their login, they will have a different cpanel all their own, where they can manage their site. again you can use anything that resolves to your ip plus :2082 to access any cpanel. it looks at your login information, not the domain name you used to get there. so that means if you go to http://www.siteihost.com:2082 and use your cpanel login instead of the login you created for siteihost.com, it will take you to YOUR cpanel, not theirs!

I'm not sure how you looked at your folders, but the file you are looking for is exactly in the same path you mentioned: /usr/local/cpanel/Cpanel/Accounting.php.inc

Remember this is unix and that folder and filenames are case sensitive, you must use Cpanel/Accounting.php.inc and not cpanel/accounting.php.inc. Maybe try using a file manager or an ssh session will help, but i found my file in the directory you listed. Note that it's /usr/local/cpanel/Cpanel/Accounting.php.inc.

anythinghost
2003-08-07, 19:11 PM
Thank you for your reply. I appreciate it so much. I presently have a reseller plan that simply is a web site selling someone else's plan. Then I got a virtual hosting reseller and had the cpanel and whm. Now that I wanted to move up a step, things seem to be a little over whelming. What I need to know is what host name should I come up with. What I did (since I already have anythinghost.com as a web site on another server) was to set up the server using host1.anythinghost.com. Can I use anythinghost.com as a website for public view to sell web hosting or is that reserved for the server and leave it alone?

The root cpanel..what is that for? yourdomain.com shows up at the top.

If I can not use anythinghost.com as a web site can I change the server name?

Concerning: /usr/local/cpanel/Cpanel/Accounting.php.inc the only way that I can figure to see the root access is ftp and when I go to /usr/local/cpanel that is as far as I can go. I can not see /Cpanel/Accounting.php.inc