Need a few ideas on how to park a www.domain on the same server as the original account

agenciaeleve

Registered
Sep 5, 2020
3
1
3
Maringá / PR / Brazil
cPanel Access Level
Reseller Owner
Hey there!

I have the following situation working for some time now:
Server A - my main domain where I park every www.domain from my clients so I can publish their websites using the same file structure for everyone
Server B - clients' mail-only accounts so they can manage everything without accessing my files/db

I thought of merging both servers on a single and way better cloud server, but tried to configure a sample account on Server A first, so I could check if it would work.
I've created a sample account, deleted it's www cname, and when I tried to park it to my website account I got this: "The domain may not contain the www. label".
I'm guessing I could manually edit apache's hosts files and park it manually, but before trying that I'm gonna try this the right way: using cpanel only..

Is there a place where I can remove this "www" restriction on cpanel?
Or any other alternative I could try, without the need to use a different subdomain label for the website?

Thanks in advance
Rodrigo
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,295
1,255
313
Houston
The www. restriction is a result of the fact that www.domain.tld is a CNAME for domain.tld But really I am more curious about the domain names you're using. Are you wanting to use www.domain.tld for your main domain and domain.tld for the mail only clients? Why not use www.domain.tld + domain.tld and then create a subdomain for the mail only clients?
 

agenciaeleve

Registered
Sep 5, 2020
3
1
3
Maringá / PR / Brazil
cPanel Access Level
Reseller Owner
I want to park the www.domain.tld while allowing the user to manage it's e-mail accounts without having access to the files or other domains' e-mails.

My main domain is eleve.me, on top of which I park every new domain.
The files/db for the accessed parked domain are loaded using the same file structure / db for everyone.
In order to keep each domain's e-mail accounts separated I use a second server to manage each domain account individually .

For example:
domain1.com is parked on top of domain2.me on server 1, and there's a separate account on server 2 for the same domain for the e-mails.

site.domain3.com.br too, but when I try to park the www cname I get that "not allowed" message.
I tried parking domain.tld + www., but doing so won't allow me to create a new account on the same server.
Creating a subdomain for the mail will allow the user to see more than just his e-mails :/

I managed to do this on a server I've got without cpanel, directly on apache's vhosts, but that's a different case as I'm the one managing all the e-mail accounts on the server.
 
Last edited by a moderator:

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,295
1,255
313
Houston
First I want to point out that only one user should have access to cPanel, the cPanel Administrator. Users that are accessing the server for only their mail do not have access to the files and they should not be granted the cPanel user name and password.

Second, you can't manually modify Apache's VirtualHosts on cPanel. But also the CNAME for WWW is added automatically which is why you get that error.
 
  • Like
Reactions: agenciaeleve

agenciaeleve

Registered
Sep 5, 2020
3
1
3
Maringá / PR / Brazil
cPanel Access Level
Reseller Owner
I actually allow my users to access their own mail-only accounts. This way I give them more "freedom" to manage their mail account, they don't depend on other people to create accounts, change a password etc. And I get more free time as I don't need to worry about those things.

For the second part, I'm sad to hear that.
Guess I'll have to stick to using two servers and keep things the way I'm doing right now.
Thanks a lot, you were very helpful! :)
 
  • Like
Reactions: cPanelLauren