Control Web Panel

WebPanel => Installation => Topic started by: Administrator on November 01, 2013, 03:03:09 AM

Title: How do I create a new domain account in CentOS Web Panel ?
Post by: Administrator on November 01, 2013, 03:03:09 AM
How do I create a new domain account in CentOS Web Panel ?

You need to have installed CentOS Web Panel!

Configuration of WebPanel
When you login for the first time in CentOS WebPanel you need to set some settings in Web Interface.
- Setup nameservers (ns1 & ns2 with IPs)
- Setup shared ip (this ip is used for domains)
- Setup at least one hosting package (eg. default)
- Setup root email
& now you are ready to host domains…

If you have set shared ip, nameservers and at least one hosting package now you can create new domain account with CentOS Web Panel.

Adding new Domain Account
go to Accounts in left menu --> New Account
- Enter Domain name (eg. mydomain.com)
- Enter username  (make it similar to domain eg. mydomain)
- Copy random generated password from CentOS Web Panel to safe place or set your password
- Select Package you created previously
- Setup domain/account owner email address
& Click on button Create

That is it! your domain is active & online.

Don't forget that you need to setup nameservers for your domain to work!
   
Title: Re: How do I create a new domain account in CentOS Web Panel ?
Post by: jtdoank on March 15, 2014, 08:17:00 AM
So sorry for asking, but could you help me. Cause i am newbie on this things
as you mention above:

Configuration of WebPanel
When you login for the first time in CentOS WebPanel you need to set some settings in Web Interface.
- Setup nameservers (ns1 & ns2 with IPs)
- Setup shared ip (this ip is used for domains)
- Setup at least one hosting package (eg. default)
- Setup root email ---> could you help me to make simple how to for this one?
& now you are ready to host domains…

Thanks
Title: Re: How do I create a new domain account in CentOS Web Panel ?
Post by: Administrator on March 31, 2014, 10:08:06 PM
under webpanel settings you have root email  field.
Title: Re: How do I create a new domain account in CentOS Web Panel ?
Post by: remolabarca on April 03, 2014, 03:40:05 PM
Hi everybody,
This is the first time I use centos-webpanel and I have a problem, I tried to set up some domains and every domain points to the main domain, when I connect with ftp with different username for different domain it tooks me to the right folder but when I write the domain in the browser every domain take me to the main one, I've done everything that is written in this page and, what else should I do?
can you help me?
Title: Re: How do I create a new domain account in CentOS Web Panel ?
Post by: Administrator on April 03, 2014, 06:44:09 PM
use this contact, with login details for cwp

http://centos-webpanel.com/contact
Title: Re: How do I create a new domain account in CentOS Web Panel ?
Post by: Administrator on April 07, 2014, 08:06:09 PM
Hi everybody,
This is the first time I use centos-webpanel and I have a problem, I tried to set up some domains and every domain points to the main domain, when I connect with ftp with different username for different domain it tooks me to the right folder but when I write the domain in the browser every domain take me to the main one, I've done everything that is written in this page and, what else should I do?
can you help me?

http://forum.centos-webpanel.com/apache/%28warn%29-_default_-virtualhost-overlap-on-port-80-the-first-has-precedence/
Title: Re: How do I create a new domain account in CentOS Web Panel ?
Post by: carbar on May 18, 2014, 06:58:56 AM
Hi,

I added my primary domain and changed nameservers and then httpd service was not working. The CWP panel won't come up after reboot :(

What's gone wrong?
Title: Re: How do I create a new domain account in CentOS Web Panel ?
Post by: Administrator on May 18, 2014, 01:44:15 PM
you need to check your firewall/iptables if panel is not working as this is probably not the panel issue!

to delete iptables rules try this command:
Code: [Select]
iptables -F
Title: Re: How do I create a new domain account in CentOS Web Panel ?
Post by: carmageddon63 on July 24, 2014, 12:01:48 PM
hi. cw panel is work fine. but i am add a new domain its ok but not change anything web folders. only i see apache welcome page. i am manually edit /home/username/public_html/index.html not change anything. i only see apache welcome page. ( i am install with varnish) i delete index.html o see again apache welcome page.
Title: Re: How do I create a new domain account in CentOS Web Panel ?
Post by: Administrator on July 24, 2014, 12:53:46 PM
have you set shared ip address in cwp and restarted apache ?
Title: Re: How do I create a new domain account in CentOS Web Panel ?
Post by: carmageddon63 on July 24, 2014, 01:37:36 PM
yes. i try but not work. how can i remove varnish ?
Title: Re: How do I create a new domain account in CentOS Web Panel ?
Post by: Administrator on July 24, 2014, 01:50:00 PM
varnish will not cause any problems, you can contact advanced support for more detailed check
http://centos-webpanel.com/contact
Title: Re: How do I create a new domain account in CentOS Web Panel ?
Post by: qisoed on October 18, 2014, 04:14:09 AM
Related to domain, I found this little problem. When I'm adding new domain account, the domain automatically added to the server and also the directory was created. But when I check on list domain the domain doesn't appear there. If I try to add domain it says the domain is already exist.

The problem does not interfere with the system, all things work normal, but it is a bit disturbing since I cannot see what domain have I added into the server. I hope you can help to fix this. thanks.
Title: Re: How do I create a new domain account in CentOS Web Panel ?
Post by: Administrator on October 18, 2014, 06:12:05 AM
are you adding domain or account ?

if domain exist or account with same domain than you can not add same domain as additional domain!
When you create new account you also have created a main domain for it.
Title: Re: How do I create a new domain account in CentOS Web Panel ?
Post by: qisoed on October 22, 2014, 01:04:37 PM
I'm adding new domain and because I need different account for it so I also adding new account. But of course the procedure is creating the account first so technically the domain was added along with the account I create. and after that the domain is exist in the server before I'm adding it seperately with the account.
Title: Re: How do I create a new domain account in CentOS Web Panel ?
Post by: Administrator on October 23, 2014, 10:31:11 PM
yes when you create new account you have also created a new domain so you do not need to add additional domain.
Title: Re: How do I create a new domain account in CentOS Web Panel ?
Post by: icttech on March 09, 2015, 06:47:02 PM
but why does it not show up in the admin panel under "List Domains"?
Title: Re: How do I create a new domain account in CentOS Web Panel ?
Post by: Administrator on March 09, 2015, 07:15:08 PM
as there are only addon domains listed, you need to use accounts to see the main domain!
Title: Re: How do I create a new domain account in CentOS Web Panel ?
Post by: signix on May 15, 2015, 09:11:13 PM
Is there any way to create account without a domain ?
Thank you
Title: Re: How do I create a new domain account in CentOS Web Panel ?
Post by: nrozic on May 16, 2015, 08:10:26 AM
Yes, it is possible, but you would need to make minor modification in apache vhosts template.

Check this thread (http://forum.centos-webpanel.com/apache/temporary-website-url-in-cwp-for-accesing-website-before-domain-propagation/), there is described how to set this up.
Title: Re: How do I create a new domain account in CentOS Web Panel ?
Post by: signix on May 21, 2015, 01:50:00 PM
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
Title: Re: How do I create a new domain account in CentOS Web Panel ?
Post by: Administrator on October 22, 2015, 06:52:55 PM
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.
Title: Re: How do I create a new domain account in CentOS Web Panel ?
Post by: aicon on November 11, 2015, 05:19:02 PM
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.
Title: Re: How do I create a new domain account in CentOS Web Panel ?
Post by: 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..
Title: Re: How do I create a new domain account in CentOS Web Panel ?
Post by: adamjedgar on April 28, 2019, 10:17:12 PM
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?
Title: Re: How do I create a new domain account in Cwp Control Panel ?
Post by: therussian on August 22, 2019, 11:09:59 PM
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 ?
Title: Re: How do I create a new domain account in CentOS Web Panel ?
Post by: x1705 on August 23, 2019, 12:42:45 AM
 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