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 blogs.domain.com to point do a different location but still have all other subdomains point to the main directory.

View 2 Replies


ADVERTISEMENT

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

Cpanel AddOn Domains With Subdomains Automatically From Main Domain

Nov 20, 2008

Lets say I have abcd.com as the main domain on cpanel. abcd.com 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 abcd.com automatically. Let's say the addon/parked

domain is 1234.com
For example I have
sub.abcd.com as the main subdomain

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

View 4 Replies View Related

How To Make Subdomains Point To Public_html Folder

Jan 16, 2009

I have a VPS with WHM/cPanel on linux.

Currently my sub-domain points to a sub-folder in public_html

I want to make 18 sub-domains but I want them to point to public_html instead.

In other words sub.domain.com will point to /home/user/public_html/ instead of /home/user/public_html/sub/

View 4 Replies View Related

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 www.domain.com and reseller is trying to create a user account like new.domain.com . 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

Plesk 12.x / Linux :: Cannot Point Domain To New Directory

Jul 6, 2014

When I am setting new directory for domain, the domain is served from old directory.

1. New directory has exactly the same file permissions as old one.
2. Restarting httpd service doesn't work
3. I am using Plesk 12

View 2 Replies View Related

Plesk 12.x / Linux :: Making Subdomain Serve Files From Same Directory As Main Domain

Sep 28, 2014

I'm setting up a SAAS service which is built on top of Laravel. To put it simply the service itself knows whether its being called from a sub.example.com or just example.com and serves a correct response accordingly. So going to sub.example.com will use the same index.php file as example.com but the routes and controllers within the application will provide a different response. sub.example.com will show a tenant login page where as example.com will show a new tenant subscription page or something else.

So when someone new subscribes I add a new entry to the database with a subdomain name for them and when a request comes from that subdomain and they are logged in it will show them their information. Easy right.

There is a problem though with setting it up with Plesk. When I add a wildcard subdomain, it will look for /subdomains/sub/ for the files which is a bit problematic since I want it to serve the files from the same place as the domain example.com.

Is there a way to configure that so that regardless of the subdomain it will try and serve the exact same content as my main domain?

View 2 Replies View Related

CPanel Directory / Sub-Directory Protection (Linux Shared Hosting)

May 31, 2007

I have a situation like this:

There is a directory say, "Master" and inside, "Master" there is sub-directory, "Slave". A user who has access to, "Master" should be able to access, "Slave" automatically. However, a user who has access to, "Slave" should not have access to, "Master". Inside cPanel this type of protection is not possible.

View 3 Replies View Related

Wildcard DNS Subdomains Working, But Existing Subdomains Not

May 7, 2007

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

What isn't working properly is that he also has forums.hissite.com, 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.

Quote:

<VirtualHost 74.53.106.146>
ServerAlias residualvictory.com
ServerAlias *.residualvictory.com
ServerAdmin webmaster@residualvictory.com
DocumentRoot /home/residual/public_html
BytesLog domlogs/residualvictory.com-bytes_log
ServerName www.residualvictory.com

User residual
Group residual
CustomLog /usr/local/apache/domlogs/residualvictory.com combined
ScriptAlias /cgi-bin/ /home/residual/public_html/cgi-bin/
</VirtualHost>

<VirtualHost 74.53.106.146>
ServerAlias www.forums.residualvictory.com
ServerAlias forums.residualvictory.com
ServerAdmin webmaster@forums.residualvictory.com
DocumentRoot /home/residual/public_html/forums
BytesLog domlogs/forums.residualvictory.com-bytes_log
ServerName forums.residualvictory.com

User residual
Group residual
CustomLog /usr/local/apache/domlogs/forums.residualvictory.com combined
ScriptAlias /cgi-bin/ /home/residual/public_html/forums/cgi-bin/
</VirtualHost>

And the bind file for his domain

Quote:

; Modified by Web Host Manager
; Zone File for residualvictory.com
$TTL 14400
@ 86400 IN SOA ns1.lucidic.com. root.lucid.lucidic.com. (
2007050705
86400
7200
3600000
86400
)

residualvictory.com. 86400 IN NS ns1.lucidic.com.
residualvictory.com. 86400 IN NS ns2.lucidic.com.


residualvictory.com. 14400 IN A 74.53.106.146

localhost.residualvictory.com. 14400 IN A 127.0.0.1

residualvictory.com. 14400 IN MX 0 residualvictory.com.

mail 14400 IN CNAME residualvictory.com.
www 14400 IN CNAME residualvictory.com.
ftp 14400 IN A 74.53.106.146
forums 14400 IN A 74.53.106.146
www.forums 14400 IN A 74.53.106.146
* 14400 IN A 74.53.106.146

View 10 Replies View Related

Point My MX Record To CPanel's

Oct 6, 2007

I wanted to point my MX record from my registrar's dns to a hosted account that is controlled by cPanel, but inside cPanel I don't see a unique MX record, it just lists my domain name. Is this possible with cPanel? I have done this before with H-Sphere.

I am just parking my domain and using my registrar's nameservers and wanted to just add in the MX record for email.

View 8 Replies View Related

How To Set DNS Server To Point Subdomain To Cpanel

May 17, 2007

I am using a cpanel for my site.

While I am not using the nameserver of the cpanel hosting for my site.

I am using a 3rd party DNS server to handle the DNS thing.

I directly point www/ftp/mail/... A records to my site hosting's IP address.

And everything works well.

But there is a problem, I don't know how to set up subdomain.

I created a subdomain with my site cpanel.

And it automatically created a root directory for the subdomain under /public_html. ( .../public_html/subdomain/)

But I don't know how to make the subdomain work.

How to set the DNS records to directly point my subdomain to its root directory on the hosting?

I tried to add a A record for my subdomain. But it only direct the subdomain to /public_html the main domain's root directory.

Untill now, the subdomain is still pointed to the same page as the main domain.

View 3 Replies View Related

Moving Main Account CPanel/WHM

Feb 21, 2007

I have several sites under a cPanel/WHM reseller account. I want to move the biggest site under this account to another host. This site is the main site for the reseller account. The user name associated with it is my account name with the host, and all the other sites on that account are shown in WHM to be owned by it.

After I have the site running on the new host, I want to delete it from the old one. How can I do this whilst still retaining access to WHM which is only accessible through the cPanel of this site?

View 4 Replies View Related

Change Server Main IP For Cpanel

Aug 30, 2007

I currently have a problem here. I want to change my server IP from xxx.xxx.xxx.123 to xxx.xxx.xxx.321

1. I have requested cPanel IP changes to xxx.xxx.xxx.321

2. I am about to make changes for my eth0 to to xxx.xxx.xxx.321

3. How do I manually change cPanel setting (inside WHM) main server IP to xxx.xxx.xxx.321 using SSH command? Which files to edit?

When I change my eth0 to new IP, it won't detect the license anymore telling me "Invalid License"

View 6 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







Copyrights 2005-15 www.BigResource.com, All rights reserved