How do I create a new domain account in CentOS Web Panel ?

Started by Administrator, November 01, 2013, 03:03:09 AM

Previous topic - Next topic

Administrator

yes when you create new account you have also created a new domain so you do not need to add additional domain.

icttech

but why does it not show up in the admin panel under "List Domains"?

Administrator

as there are only addon domains listed, you need to use accounts to see the main domain!

signix

Is there any way to create account without a domain ?
Thank you

nrozic

Yes, it is possible, but you would need to make minor modification in apache vhosts template.

Check this thread, there is described how to set this up.

signix

Thank you for this thread. I understand the apache configuration but how can I create a user without a domain.

When I do not fill the domain textbox I have warning saying :
ERROR! Check All Fields (only lower caps are allowed and no special characters)!
Thanks again

Administrator

you can add same sample domain like username.com if you need it for account only.
Or you can create is like on any linux system via command line, all depends on what exactly do you want.

aicon

I don't like the directory structure under the accounts.The account's domain goes into the main directory and all others into/under this. The files, folders from the main domain are mixed with all other added domains. In this way is also in cPanel.
So, when I create an account I enter a dummy domain, never use it.
After that I add all other domains, pointing each into different directory under user's account main directory.
The main directory contains no files only the added domains folder.
In case anyone wants $10 bonus for FREE on cheap cloud VPS from Vultr:
http://www.vultr.com/?ref=6855695
-------------------------------------------------------------------------------------------------
And $10 bonus for FREE on cheap cloud VPS from Digitalocean:
https://www.digitalocean.com/?refcode=c41029801394

h0bby

Hi,

I am using cwp7 and very new to this.
I am hosting a working site name a.com
i wanted b.com and c.com to point to the directory as a.com
/home/username/public_html/index.html
How do i do this? Do i need to create every user for b and c.com ? This will end up using more storage.
thanx for the help..

adamjedgar

#24
Quote from: h0bby on February 25, 2019, 03:49:44 AM
Hi,

I am using cwp7 and very new to this.
I am hosting a working site name a.com
i wanted b.com and c.com to point to the directory as a.com
/home/username/public_html/index.html
How do i do this? Do i need to create every user for b and c.com ? This will end up using more storage.
thanx for the help..

This is done via your domain registrar and is called "domain forwarding"

Essentially that means I if someone types domain3.com into their browser, your registrar redirects domain3.com to domain1.com in a users web browser.

You do this in my above example at domain3.com registrar.

Who is your domain registrar?

therussian

ok created User account in CWPpro, now in Control I like to install Wordpress.  When I try to add domain it error's out when i type ".", a special character.  So how to add a domain domain.com if you can type "."?  Or I am missing something ?

x1705

 btw, you can always simply add an index.htm or index.html file that reads with just one line to forward to another domain..

<meta http-equiv="refresh" content="0; URL=http://www.yourdomain.com">

just open a blank editor, nano, vi, emacs, whichever..
and add just that line in the /home/{user}/public_html/{directory} of the one you want to forward FROM..

the "content=0" means to immediately forward, if say, you change that to a "5", it will ..wait.. 5 seconds before forwarding..
ie; you Could post a message that reads, "Please wait, you are being forwarded..", or, "whatever..." etc.

what i do, is create the Domain (in user panel), give it the public_html/newdomain.com
then if i want it to forward out, put that index.html file in that directory Pointing to the domain i want it to forward to.

super easy, and efficient.
the only benefit from doing it via you Domain registrar, is you may* be able to MASK the forward, some do, some don't allow that.
I havent needed it. so i don't.

hope that helps.
X

southhost

Server :Intel  Xeon W3520   
Core/Threat : 4c/8t   
Speed :2.66GHz   
Ram  :32GB DDR3 ECC 1333 MHz   
HDD :SoftRaid  2x2TB     
Bandwidth:  100 Mbps   
IP Upto  :/128
Provider : Kimsufui

Please Reply Me The Server Health and Quality
for Centos Web Panel Shared Hosting and Reseller Hosting

shahramie

hi,
when i create a new user account, in the form asked me for domain name,
but when login with that user account, in domain list show nothing!  (0/10)

please help me.
thanks

studio4host

Quote from: shahramie on May 18, 2020, 07:08:33 AM
when i create a new user account, in the form asked me for domain name,
but when login with that user account, in domain list show nothing!  (0/10)

You are probably mixing additional domains with the main domain.
Additional domains are only additional and main domain is account main domain used to create account pointing to public_html
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.