namecheap url doc mention (#245)

* add initial URL support to namecheap provider

* add URL / FRAME records to namecheap provider

* add menion of URL types to namecheap docs
This commit is contained in:
rbelnap 2017-10-23 14:16:16 -04:00 committed by Craig Peterson
parent eafc18a77e
commit 1664b64a94

View file

@ -6,8 +6,6 @@ jsId: NAMECHEAP
# Namecheap Provider
Namecheap only provides a registrar provider implementation.
## Configuration
In your providers config json file you must provide your Namecheap api
@ -56,6 +54,20 @@ D("example.tld", REG_NAMECHEAP, DnsProvider(R53),
);
{%endhighlight%}
Namecheap provides custom redirect records URL, URL301, and FRAME. These
records can be used like any other record:
{% highlight js %}
var REG_NAMECHEAP = NewRegistrar("namecheap","NAMECHEAP");
var NAMECHEAP = NewDnsProvider("namecheap","NAMECHEAP");
D("example.tld", REG_NAMECHEAP, DnsProvider(NAMECHEAP),
URL('@', 'http://example.com/'),
URL('www', 'http://example.com/'),
URL301('backup', 'http://backup.example.com/')
)
{% endhighlight %}
## Activation
In order to activate api functionality on your Namecheap account, you must