• Home
  • FAQ
  • Main Website
  • Forum
  • Facebook
  • YouTube
Control WebPanel Wiki
  • Home
  • FAQ
  • Main Website
  • Forum
  • Facebook
  • YouTube

Convert Addon Domain to Account

/Other /Convert Addon Domain to Account
  • April 2, 2019
  • Other

Make account from addon domain

- Go to the addon domain list in cwm.admin and click on the Convert Addon Domain to Account
- You will be redirected to Create a New Account page where you will be able to enter a username and other configs.

Migration process will do the following:
- remove addon domain from the previous user
- change owner of all matching subdomains to the new user account
- copy content with rsync for that addon domain
- copy content with rsync of all subdomains for matching
- fix account permissions to match the new owner
- rebuild vhost configuration for all webservers (nginx, varnish, apache)
- reload webservers (nginx, varnish, apache)

Migration will not do:
- it will not copy databases
- it will not delete any files on the source account
- it will not modify any website files on the new location, meaning that you need to modify mysql connection details
- it will not modify dns records, it will leave them untouched
- it will not modify email accounts, meaning that emails for the addon domain will continue to work under the new user account.

Other info:
- All subdomains will use the new path location as /home/USERNAME/sub.domain.com

Manually

- remove addon domain from table root_cwp.domains (replace domain.com with domain name)

mysql root_cwp -e "DELETE FROM domains WHERE domain='domain.com';"

- create a new account with that domain name
- rsync files from old location to new, example:

rsync -av /home/old-user/domain/ /home/new-user/public_html/

- user for subdomains also needs to be changed including the path in root_cwp.subdomains database table
- rsync of data for all subdomains
- run fix account permissions from cwp.admin
- at end rebuild all vhosts

Tagged:Convert Addon Domain to Account

Related Articles

  • cPanel Compatibility

  • Install dotnet SDK and running a Project Example

  • Install Django

  • How to Deploy Django Apps using Apache with mod-wsgi and nginx

  • How to Install and Setup Node.Js on CWP

  • Internationalized Domain Name (IDN) Conversion Tools






Donate for Development of CWP el7

Categories

  • 3rdParty 2
  • Apache 21
  • API 1
  • Backups 1
  • Clusters 3
  • Development 5
  • DNS 7
  • E-Mail 21
  • FTP 7
  • License 2
  • Load-Balancers 2
  • Migrations 4
  • MySQL 10
  • Nginx 1
  • Other 18
  • Other Databases 3
  • PHP 17
  • Scripts 2
  • Security 27
  • shell-scripts 1
  • SSL/AutoSSL 2
  • Testing 2
  • Updates 6
  • User-Panel 4

Popular Articles

  • How to secure your website from hacking
  • How to migrate account from Webuzo
  • How to install TLS for FTP
  • MongoDB Installation and Management
  • How to install ffmpeg-php
  • How to install CloudLinux on the CWP servers ?

Latest Articles

  • Postfix send email from dedicated ip address
  • The Future of CentOS Stream with CWP
  • MariaDB Upgrade from 10.1 to 10.2
  • Roundcube Update
  • Apache Proxy Timeout with PHP-FPM
  • catch-all emails
  • cPanel Compatibility
  • How to Configure PHP options under CWP-Admin and CWP-User
  • Install MSSQL Freetds extension with PHP 5.x.x
  • Install MSSQL Freetds extension with PHP 5.x
  • Policyd - Limit emails per hour
  • Install dotnet SDK and running a Project Example
  • How to install KernelCare on CWP servers
  • Recalculate mailbox quota
  • Cgroups - Limits per User
  • How to filter (spam) emails with the roundcube
  • Install Django
  • How to Deploy Django Apps using Apache with mod-wsgi and nginx
  • How to disable dangerous php functions
  • Install Composer - PHP dependency manager
  • Install CXS ( ConfigServer eXploit Scanner )
  • Move /var/vmail to another partition

Add your Article

Want to Contribute?
Submit your Article and Get Rewarded

Joint CWP Team
Join Our Development Team
Join Our Support Team
Join Our Marketing Team
Join Our Designers Team
Join Our Documentation Team

Languages

en English
ar Arabiczh-CN Chinese (Simplified)hr Croatiannl Dutchen Englishfr Frenchde Germanit Italianpt Portugueseru Russianes Spanish
  • Home
  • FAQ
  • Main Website
  • Forum
  • Facebook
  • YouTube
© Copyright, CWP Wiki