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!
==== Domain re-provisioning ==== ## NOTE: Following is for domain being provisioned on same server (i.e. just being renamed) 1) Adjust DNS - ns1.nethere.net a) Rename the DNS zone file to the new domain, remove the old DNS zone files from /named/master and /named/master/RCS b) Check in the new DNS zone file c) Edit /named/named.master - replace the old domain with the new one, alias as necessary d) Reload DNS zones - make new-zone in /named 2) Adjust Apache config - server domain is hosted on a) Find current config file(s) in /nethere/conf/apache/conf/<vhosts,nvhosts> b) Replace old domain name entries with new domain name, alias as necessary c) Save as new_domain.tld d) Remove old_domain.tld(.common), RCS/old_domain.tld(.common) e) Check in new_domain.tld via RCS: # ci -u new_domain.tld < /dev/null f) Check out Apache include configuration file via RCS /nethere/conf/apache/conf/<nvhosts.conf,vhosts.conf> g) Edit nvhosts.conf or vhosts.conf, replace old_domain.tld entries with new_domain.tld h) Check in via RCS /nethere/conf/apche/conf/<nvhosts.conf,vhosts.conf> 3) Rename directory for new domain # cd /www # mv www.old_domain.tld www.new_domain.tld 4) Adjust PHP stub files/configuration a) Adjust php.ini file in /www/www.domain.tld/(php4,php5) b) Adjust PHP stub files in /www/www.domain.tld/htdocs/cgi-bin/(php4,php5) *note: need to chflags to "noschg" for /www/www.domain.tld/htdocs/cgi-bin/(php4,php5) before being able to update the stub files after adjusting, be sure to chflags schg /www/www.domain.tld/htdocs/cgi-bin/(php4,php5) 5) Edit password file (vipw), replace old_domain.tld entries with new_domain.tld # vipw 6) Restart Apache # apachectl configtest # apachectl restart ## NOTE: Following is for domain being re-provisioned on new server 1) Run NH script "webadd" on sawfish to provision domain on new server, *DO NOT* reload DNS, use same user/pass as before. 2) After customer has uploaded site to new server and gives the ok do the following: a) Update DNS zone for domain.tld; reload zone for domain.tld b) Wait 48 hours, then remove the site off the old server # /nethere/sbin/webdel
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