Manually Create CPanel Subdomains With SSH

Oct 24, 2007

Does anyone know how to make sub domains through SSH?

View 4 Replies


Resellers Are Not Permitted To Create Subdomains Of The Server's Main Domain

Mar 29, 2008

Whenever I try to create a user account I get the following error

Sorry, resellers are not permitted to create subdomains of the server's main domain

My server domain is and reseller is trying to create a user account like . It was working fine a few weeks back but I think since I upgraded the cpanel and whm, it doesnt allow creation of accounts anymore.

Could someone help me to fix this error please?

I own the VPS and the reseller and all other accounts.

View 3 Replies View Related

CPanel's EasyApache 3 - Are You Using It? (Or Still Doing Things Manually?)

Feb 17, 2008

How many of you cpanel folks are using the new cpanel 11 "EasyApache 3" to manage apache/php on your servers? (Instead of doing things manually?)

We have always managed our apache and php configs manually, because cpanel was "under-powered" for the task.

However, with this new EasyApache 3 that is included with cpanel 11, it seems cpanel might finally have figured things out.

How many of you have switched over from doing things yourself manually to using EasyApache to manage your PHP config?

View 5 Replies View Related

Wildcard DNS Subdomains Working, But Existing Subdomains Not

May 7, 2007

I've set up the affiliate manager from for a client of mine. This includes the setup of wildcard DNS so that each affiliate can have and have it count their clicks - which works properly.

What isn't working properly is that he also has, which is loading the main website page instead of his forums. He is using cpanel to add the subdomain, and it isn't failing, so I'm not sure what's going on with it.

Here is the relative section from the httpd file.


ServerAlias *
DocumentRoot /home/residual/public_html
BytesLog domlogs/

User residual
Group residual
CustomLog /usr/local/apache/domlogs/ combined
ScriptAlias /cgi-bin/ /home/residual/public_html/cgi-bin/

DocumentRoot /home/residual/public_html/forums
BytesLog domlogs/

User residual
Group residual
CustomLog /usr/local/apache/domlogs/ combined
ScriptAlias /cgi-bin/ /home/residual/public_html/forums/cgi-bin/

And the bind file for his domain


; Modified by Web Host Manager
; Zone File for
$TTL 14400
@ 86400 IN SOA (
) 86400 IN NS 86400 IN NS 14400 IN A 14400 IN A 14400 IN MX 0

mail 14400 IN CNAME
www 14400 IN CNAME
ftp 14400 IN A
forums 14400 IN A
www.forums 14400 IN A
* 14400 IN A

View 10 Replies View Related

Cpanel / Whm And SSL's On Subdomains

Mar 9, 2007

I have recently run into the need to setup subdomains on one of my site's with their own SSL certificate. Cpanel only allows one SSL per domain.

Does anyone have experience or a recommendation on how to setup a subdomain with it's own SSL.

My thought is to setup a separate hosting account for the subdomain. i did this in plesk a few times successfully, and in theory it should also work in cpanel. With the separate account, i can install a separate cert and the problem is fixed, but I'm not sure if it will work.

View 5 Replies View Related

New Subdomains Dont Appear At CPanel

Jun 15, 2007

Everytime I create a new subdomain, it appears.. but after I create another subdomain, the first one dissappear and I only can see the last one created..

Dns zone, httpd.conf, localdomains entries are there.. but when (using X3 o or X) I go to subdomain on the cPanel account, Im not able to see anything... anyway, subdomains are working...

Im using RHEL 4 + Latest cPanel 11 Release.

View 4 Replies View Related

Cpanel Main Domain Not Allowing Subdomains

Apr 3, 2009

When trying to make a subdomain on my main cpanel domain, through cpanel, it acts like it is making it, and adds the dns entry, but it does not work. All other domains work fine.

I submitted a ticket to buycpanel, they asked for the login information this morning, and have not heard back from them. This has happened every since they installed cpanel.

I am hoping its something simple that one of you knowledgeable people may know how to fix.

View 2 Replies View Related

How To Point All Subdomains To Main Directory Using CPanel

Jun 11, 2009

Im using Cpanel and I would like to have all subdomains of a domain I host point to the main root directory of the site. How would I do that in cpanel? When I click on subdomains do I just put the wildcard * for the subdomain name?

Also what do I do if I want to point all subdomains to the main directory except for the certain domains I specify? So if I wanted to point do a different location but still have all other subdomains point to the main directory.

View 2 Replies View Related

How Do I Rid Of The Generic Apache/cPanel Page When Subdomains Are Accessed

Aug 1, 2008

I just picked up a WiredTree VPS account, but have never really dabbled deep into server-related knowledge. I was wondering what one would do to rid of the "Great Success!

Apache is working on your cPanel® and WHM™ Server" pages when subdomains are accessed?

View 0 Replies View Related

Cpanel AddOn Domains With Subdomains Automatically From Main Domain

Nov 20, 2008

Lets say I have as the main domain on cpanel. has 10 subdomains.

Basically what I want to do is when I do an addon domain or parked domain I want the subdomains to basically point to automatically. Let's say the addon/parked

domain is
For example I have as the main subdomain

so when I type in I want it pointed to internally meaning the script/files from there however in the browser show as if it were

View 4 Replies View Related

Apache :: Will Editing HTAccess File In Cpanel Effect All Wordpress Domains And Subdomains

Mar 26, 2014

I added the following to my cpanel .htaccess file on my hosting account:

<FilesMatch ".pdf$">header set x-robots-tag: noindex

This was to stop Google from crawling and indexing my PDFs, will this work accross all my addon domains and subdomains (which are wordpress) on my hosting account or do I need to take extra measure?

View 4 Replies View Related

Create A Zend Id For Your Machine. This Is Apparently For Them To Create A Product Key For Their Software

Aug 7, 2008

Customer has requested the following:

"Create a zend id for your machine." This is apparently for them to create a product key for their software and have to bind to it?!

I have never heard of this and have been unable to locate any information on it.

This is a Centos box with php 5.2.5 installed:
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies
with Zend Optimizer v3.3.0, Copyright (c) 1998-2007, by Zend Technologies

how to go about this or even what this is?

View 2 Replies View Related

Manually Enabling SpamAssassin

Mar 2, 2008

I have a dedicated server. It is a Fedora Core 6. It came with "Plesk 30 domain license". However, this license of Plesk doesn't have SpamAssassin enabled. In order to get the license with SpamAssassin, it costs an extra $30 a month.

I believe SpamAssassin by default is in fact installed on the sever, but some of my users are reporting that they are getting Spam. How can I check is SpamAssassin is running? How do I configure SpamAssassin to filter spam on all the e-mail addresses that are created in Plesk?

I have SSH access to the server.

View 3 Replies View Related

Installing CentOS Manually

Jul 8, 2008

how to install CentOS by not using the installer. This guide should be great when installing over networks, don't have a graphical console available (for installing over serial), when you're not content with the installer's job, installing CentOS from another distro, or plainly want to learn more about how CentOS works.

* Have a host OS that has the "rpm" package manager available. Some distributions have it in their repositories (even if the package manager for the distro itself is not rpm), and knoppix (a linux live/rescue CD) has it aboard too. You can use the first CentOS ISO CD too (use linux rescue at boot), and it has all the necessairy packages aboard
* Access to the CentOS base repository. It's on the first CentOS ISO CD
* Use your BRAIN. This guide is ment to be interpreted, not copy/pasted

# First, setup your disks to your liking. You can use whatever you want here,
# RAID, LVM, etc... Remember your disk configuration because you'll need it
# to configure grub, menu.lst and fstab. Using RAID, LVM, or others will require
# more configuration than this guide covers. To keep it simple I'm using a
# single disk. An example:

$ fdisk /dev/sda
$ mount /dev/sda3 /target
$ mkdir /target/boot
$ mount /dev/sda1 /target/boot

# Depending on the host OS you're using, you may need to initialize the rpm db
# on the host OS
$ rpm --initdb

# Use the following command to install the packages. I'll be addressing this
# command as $rpm.

$ rpm --root /target -i

# Use your shell's tab completion to complete the package filenames. I
# deliberatly left out the versions so these instructions apply to a wide range
# of versions

# Let's install some basics
$rpm setup basesystem filesystem

# Install bash first, this is needed for post-install scripts
$rpm bash glibc glibc-common termcap libgcc tzdata mktemp libtermcap

# Install some dependencies (this is mainly to keep the next command smaller)
$rpm grep pcre libstdc++ info ncurses zlib gawk sed ethtool

# Install the bulk of the system
$rpm coreutils libselinux libacl libattr pam audit-libs cracklib-dicts
cracklib libsepol mcstrans libcap chkconfig python db4 openssl readline
bzip2-libs gdbm findutils krb5-libs initscripts util-linux popt udev MAKEDEV
centos-release shadow-utils keyutils-libs iproute sysfsutils SysVinit
net-tools module-init-tools e2fsprogs e2fsprogs-libs glib2 mingetty
device-mapper sysklogd psmisc centos-release-notes procps libsysfs iputils

# Install package manager
$rpm rpm beecrypt elfutils-libelf rpm-libs sqlite

# Install YUM
$rpm yum python-elementtree rpm-python yum-metadata-parser python-sqlite
expat libxml2 python-urlgrabber m2crypto python-iniparse

# You may also want to install your favorite editor
$rpm nano

# This provides /root with some defaults, like color highlighting on `ls`
$rpm rootfiles

# Right now you have system which you can chroot to, so we can start setting up
# the basics

# Mount directories for chroot operation
$ mount --bind /dev /target/dev
$ mount -t proc none /target/proc
$ mount -t sysfs none /target/sysfs
$ chroot /target

# This constructs /etc/shadow
$ pwconv

# Configure fstab
$ nano -w /etc/fstab

# Installing the kernel. Do this back outside the chroot in the host OS system
$ exit
$rpm kernel mkinitrd cpio device-mapper-multipath dmraid gzip kpartx lvm2 nash
tar less device-mapper-event

# Install the bootloader, grub.
$rpm grub diffutils redhat-logos

# Let's chroot again to configure our bootloader
$ chroot /target

# We start by configuring the bootloader. Open /boot/grub/menu.lst, and put the
# following there

timeout 5
default 0

# (0) CentOS
title CentOS
root (hd0,0)
kernel /vmlinuz-2.6.18-92.el5 root=/dev/sda3 ro
initrd /initrd-2.6.18-92.el5.img

# If this command gives an error, you can safely ignore this because it's not
# of importance. What is important is that grub-install copied the right files
# to /boot/grub that we need for booting.
$ /sbin/grub-install /dev/sda

# Manually install grub if the previous step failed. - means type it in the grub
# shell
$ grub
$- root (hd0,0)
$- setup (hd0)

# Optional packages
# You may want to install passwd so you can set passwords ;-)
$rpm passwd libuser openldap cyrus-sasl-lib

# These are used to set the keyboard language (loadkeys)
$rpm kbd usermode

# ** Right now you should have a bootable system! Here are some tips to help you
# through your 1st boot ***

# Most of the system configuration happens in /etc/sysconfig. See


for full documentation.

Some quick post-install tips:
* Configure your keyboard in
using the KEYTABLE variable

* Configure networking
Take a look at /etc/sysconfig/network-scripts. See ifcfg-lo for an example.

# This recreates the RPM database. If the host OS you used has a different
# version of db, rpm will complain with
# rpmdb: unable to lock mutex: Invalid argument
$ rpmdb --rebuilddb

View 2 Replies View Related

Copyrights 2005-15, All rights reserved