dlemkin

Member
Apr 6, 2004
22
0
151
I am having trouble adding an add-on domain to my main account on a shared cpanel linux isp.

Main account: erdoc.org
Addon domain: lemkin.net

I initially set it up and it kind of functioned. I deleted the add-on domain using cpanel and then resinstalled it using the following procedures:

Step 1: I registered the domain (lemkin.net) at namecheap.com (completed weeks ago)
Step 2: I set the DNS on (lemkin.net) to dns[12].firehousehosting.net (verified in whois)
Step 3: In CPANEL ADDON Domain Maintenance added:
NEW DOMAIN NAME: lemkin.net
USERNAME/DIRECTORY/SUBDOMAIN NAME: lemkin (folder assignment)
PASSWORD: ****
I got these messages:
---------------------
Addon Domain Additions
The subdomain, lemkin.erdoc.org has been added.
Nameserver ips for lemkin.net are: 66.246.3.132,66.246.3.133 send to CONTACTEMAIL (3)
[3]skip CONTACTPAGER (1)
[3] Bind reloading on fhh using rndc zone: [lemkin.net]
****Error reloading bind on fhh: rndc: 'reload' failed: not found *****
Created DNS entry for lemkin.net

Setup Mail forward lemkin.net -> lemkin.erdoc.org
Setup lemkin.net OK
Adding httpd.conf entry for lemkin.net to point to lemkin.erdoc.org
-----------------------
The subdomain does load, but none of the html functions. I checked the html and all of the image links are local, ie: refering to the same folder. This is usually the most stable method I have found, and improves portability.

This is the source code for the index page that is not loading properly

www.lemkin.net/index.html - doesn’t load
www.lemkin.erdoc.org/index.html - no pictures, link problems
www.erdoc.org/lemkin/index.html - works fine with local links

-------------------------
<body>
<div align="center">
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><img src="images/lemkin_net_1.jpg" width="508" height="104">
</p>
<p>&nbsp;</p>
<p><a href="http://lemkin.net/webmail" target="_self"><img src="images/mailbox.jpg" width="50" height="94" border="0"></a> </p>
</div>
</body>
--------------------------

I THINK THAT WHEN I REMOVED AND REINSTALLED THE ADD ON DOMAIN I SCREWED IT UP, AND IT FAILED TO REGISTER IT PROPERLY THE SECOND TIME.

Any help would be appreciated.
 

ladymacbeth

Member
Nov 17, 2002
15
0
151
India
Check out the /usr/local/apache/conf/httpd.conf file, and make sure that the Document Root specified in the Virtual Host entry of the Addon domain, is correct. There should be a '/' at the end of the path given as Document Root.

Regards
Reeshma