Editing
NetHere
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Migrate Website to nh5.jcihosting.net == Set TTL to 300 on ns1.nethere.net Open up these web admins to get current account/site info: http://toolbox.nethere.net/ -> Provisioning Tool (search for domain name) https://secure.johncompanies.com/mgmt/index.html (search for col#####) 1. Create the lamphost user. https://www.lamphost.com/admin/user/user/create username: col##### email: same as listed for col##### account password: random, secure, won't be shared with client defaults on rest of page 2. Create the customer account https://nh5.jcihosting.net:8443/ LAMP Host Users -> Add User -> col##### Virtual Hosts -> Add Virtual Host Username: Select same username as above from pulldown Domain: example.com Hosting Plan: select plan that matches what's listed in https://secure.johncompanies.com/mgmt/view.html?cid=col##### Add default DNS: No 3. Virtual Hosts -> Site Manager (next to domain added) Site Manager Users -> Add User Username: can be anything - I typically use Optigold Login from nethere admin Password: make up something secure and record - this one will go to the user 4. Email & FTP -> Add Account Email Account: ftp Password: make up something secure and record - this one will go to the user Enable FTP Access: Yes 5. Optional: Add MySQL database if site needs it (WordPress etc) ssh to nh5.jcihosting.net and run 'add_mysql.php <example.com>' MySQL database info will be emailed to webmaster@lamphost.com (and output on command line - ignore instructions to run additional commands) https://mail.lamphost.com Sm77DdnQ 6. Copy over website Login via ssh nh5 ssh YOURLOGIN@nat.johncompanies.com ssh root@nh5.jcihosting.net cd /var/www/example.com/ rsync -v --archive --one-file-system --delete --delete-during --rsh=/usr/bin/ssh dsmith@unixweb-10.nethere.net:/www/www.example.com/htdocs ./ Change 'matt' to your username. Note that I had to add my username to groups httpd & webuser to allow me to copy website files without being root. chown -R col#####:col##### htdocs 7. If site has MySQL data find the connection info. For example, WP sites will have the info in htdocs/wp-config.php mysqldump -h mysqldb-1.webhost.nethere.net -u username --password=password databasename > databse.sql mysql exampledotcom < database.sql rm database.sql 8. If site is ready to be made live on nh5.lamphost.net then update DNS on ns1.nethere.com Send email to client with details. Search support@jcihosting.com Sent folder for emails with Subject "updated hosting for" for example emails. You will have to adjust as needed (username/passwords, different info based on specific client). 9. After you finish, update the johncompanies.com backend for the col0# CID and change the nethere hosting server to nh3.jcihosting.net. 10. To add a SSL certificate letsencrypt-create.php <domain.com> To remove a SSL certificate del-letsencrypt-certificate.php <domain.com>
Summary:
Please note that all contributions to JCWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
JCWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information