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 Aliasing ==== For domain aliasing: 1) Edit the /named/named.master on phoenix (ns1.nethere.net) a) Checkout the file; open with vi # co -l named.master # vi named.master b) find the domain that's serving as the master domain, then, following the general format of the file to add the domain aliases under the master domain entry, using the master domain zone file i.e. --cut-- zone "domain.tld" { type master; file "master/domain.tld"; }; zone "aliased_domain.tld" { type master; file "master/master_domain.tld"; }; --cut-- c) save the file, then check-in: # ci -u named.master < /dev/null d) update the zone records, using the makefile in /named; check for errors # make new-zone # tail /var/log/named **Note: some domains are IP based virtually hosted (i.e. SSL certificate). This requires a modification to the standard aliasing procedure. If this is the case, do the following e) Create a new zone file called "domain.tld-alias" in /named/master, copy current domain.tld zone file to the domain.tld-alias file, and adjust the "website" records, removing whatever IP based information is there, and replacing with the appropriate $INCLUDE name-based host template. e.g. tropicalshade.net: --cut-- ;; ntweb-4 @ IN A 66.63.136.4 www IN A 66.63.136.4 --cut-- tropicalshade.net-alias --cut-- ;; website $INCLUDE master/nvhost.ntweb-4 --cut-- f) Adjust the named.master zone file in /named accordingly: i.e. --cut-- zone "aliased_domain.tld" { type master; file "master/master_domain.tld-alias"; }; --cut-- 2) Edit the Apache configuration for the domain on the web server the master domain is hosted on a) Script is /nethere/sbin/webalias # /nethere/sbin/webalias -h (for usage) e.g. # /nethere/sbin/webalias -d www.originaldomain.tld -a www.domainalias.tld
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