RESTful API for managing domains, DNS records, and related services at Name.com. Access via HTTPS at api.name.com (production) or api.dev.name.com (testing). Supports standard authentication, rate-limited to 20 requests/second.
https://docs.name.com/_mock/coreapi/namecom.api/
https://api.dev.name.com/
https://docs.name.com/_mock/coreapi/namecom.api/core/v1/domains/{domainName}/url/forwarding
https://api.dev.name.com/core/v1/domains/{domainName}/url/forwarding
curl -i -X GET \
-u <username>:<password> \
'https://docs.name.com/_mock/coreapi/namecom.api/core/v1/domains/example.com/url/forwarding?page=1&perPage=100'
A successful response containing the list of URL forwarding entries.
LastPage is the identifier for the final page of results. It is only populated if there is another page of results after the current page.
NextPage is the identifier for the next page of results. It is only populated if there is another page of results after the current page.
URLForwarding is the list of URL forwarding entries.
The domain name (without subdomains) that is being forwarded.
The destination URL to which this hostname will be forwarded.
The complete hostname that is being forwarded (subdomain + domain).
Meta tags to include in the HTML page when using "masked" forwarding. Ignored for other forwarding types. Example: <meta name='keywords' content='fish, denver, platte'>
The title to be used for the HTML page when using "masked" forwarding. Ignored for other forwarding types.
The type of URL forwarding. Valid values:
masked
: Retains the original domain in the address bar, preventing the user from seeing the actual destination URL. Sometimes called iframe forwarding.redirect
: Uses a standard HTTP redirect (301), which changes the address bar to the destination URL.302
: Uses a temporary HTTP redirect (302), which changes the address bar to the destination URL but indicates the resource is temporarily located elsewhere.{ "lastPage": 5, "nextPage": 2, "urlForwarding": [] }
URL forwarding details to create
The domain name (without subdomains) that is being forwarded.
The destination URL to which this hostname will be forwarded.
The subdomain portion of the hostname that is being forwarded.
Meta tags to include in the HTML page when using "masked" forwarding. Ignored for other forwarding types. Example: <meta name='keywords' content='fish, denver, platte'>
The title to be used for the HTML page when using "masked" forwarding. Ignored for other forwarding types.
The type of URL forwarding. Valid values:
masked
: Retains the original domain in the address bar, preventing the user from seeing the actual destination URL. Sometimes called iframe forwarding.redirect
: Uses a standard HTTP redirect (301), which changes the address bar to the destination URL.302
: Uses a temporary HTTP redirect (302), which changes the address bar to the destination URL but indicates the resource is temporarily located elsewhere.https://docs.name.com/_mock/coreapi/namecom.api/core/v1/domains/{domainName}/url/forwarding
https://api.dev.name.com/core/v1/domains/{domainName}/url/forwarding
curl -i -X POST \
-u <username>:<password> \
https://docs.name.com/_mock/coreapi/namecom.api/core/v1/domains/example.com/url/forwarding \
-H 'Content-Type: application/json' \
-d '{
"domainName": "example.org",
"forwardsTo": "https://destination-site.com",
"host": "www",
"meta": "<meta name='\''keywords'\'' content='\''website, forwarding, masked'\''>",
"title": "Welcome to my forwarded website",
"type": "redirect"
}'
A successful response containing the created URL forwarding entry.
The domain name (without subdomains) that is being forwarded.
The destination URL to which this hostname will be forwarded.
The complete hostname that is being forwarded (subdomain + domain).
Meta tags to include in the HTML page when using "masked" forwarding. Ignored for other forwarding types. Example: <meta name='keywords' content='fish, denver, platte'>
The title to be used for the HTML page when using "masked" forwarding. Ignored for other forwarding types.
The type of URL forwarding. Valid values:
masked
: Retains the original domain in the address bar, preventing the user from seeing the actual destination URL. Sometimes called iframe forwarding.redirect
: Uses a standard HTTP redirect (301), which changes the address bar to the destination URL.302
: Uses a temporary HTTP redirect (302), which changes the address bar to the destination URL but indicates the resource is temporarily located elsewhere.{ "domainName": "example.org", "forwardsTo": "https://destination-site.com", "host": "www.example.org", "meta": "<meta name='keywords' content='website, forwarding, masked'>", "title": "Welcome to my forwarded website", "type": "redirect" }
https://docs.name.com/_mock/coreapi/namecom.api/core/v1/domains/{domainName}/url/forwarding/{host}
https://api.dev.name.com/core/v1/domains/{domainName}/url/forwarding/{host}
curl -i -X DELETE \
-u <username>:<password> \
https://docs.name.com/_mock/coreapi/namecom.api/core/v1/domains/example.com/url/forwarding/www.example.org
https://docs.name.com/_mock/coreapi/namecom.api/core/v1/domains/{domainName}/url/forwarding/{host}
https://api.dev.name.com/core/v1/domains/{domainName}/url/forwarding/{host}
curl -i -X GET \
-u <username>:<password> \
https://docs.name.com/_mock/coreapi/namecom.api/core/v1/domains/example.com/url/forwarding/www.example.org
A successful response containing the requested URL forwarding entry.
The domain name (without subdomains) that is being forwarded.
The destination URL to which this hostname will be forwarded.
The complete hostname that is being forwarded (subdomain + domain).
Meta tags to include in the HTML page when using "masked" forwarding. Ignored for other forwarding types. Example: <meta name='keywords' content='fish, denver, platte'>
The title to be used for the HTML page when using "masked" forwarding. Ignored for other forwarding types.
The type of URL forwarding. Valid values:
masked
: Retains the original domain in the address bar, preventing the user from seeing the actual destination URL. Sometimes called iframe forwarding.redirect
: Uses a standard HTTP redirect (301), which changes the address bar to the destination URL.302
: Uses a temporary HTTP redirect (302), which changes the address bar to the destination URL but indicates the resource is temporarily located elsewhere.{ "domainName": "example.org", "forwardsTo": "https://destination-site.com", "host": "www.example.org", "meta": "<meta name='keywords' content='website, forwarding, masked'>", "title": "Welcome to my forwarded website", "type": "redirect" }
Updated URL forwarding configuration
URLForwarding represents a URL forwarding entry, allowing a domain to redirect to another URL using different forwarding methods.
The destination URL to which this hostname will be forwarded.
Meta tags to include in the HTML page when using "masked" forwarding. Ignored for other forwarding types. Example: <meta name='keywords' content='fish, denver, platte'>
The title to be used for the HTML page when using "masked" forwarding. Ignored for other forwarding types.
The type of URL forwarding. Valid values:
masked
: Retains the original domain in the address bar, preventing the user from seeing the actual destination URL. Sometimes called iframe forwarding.redirect
: Uses a standard HTTP redirect (301), which changes the address bar to the destination URL.302
: Uses a temporary HTTP redirect (302), which changes the address bar to the destination URL but indicates the resource is temporarily located elsewhere.https://docs.name.com/_mock/coreapi/namecom.api/core/v1/domains/{domainName}/url/forwarding/{host}
https://api.dev.name.com/core/v1/domains/{domainName}/url/forwarding/{host}
curl -i -X PUT \
-u <username>:<password> \
https://docs.name.com/_mock/coreapi/namecom.api/core/v1/domains/example.com/url/forwarding/www.example.org \
-H 'Content-Type: application/json' \
-d '{
"forwardsTo": "https://destination-site.com",
"meta": "<meta name='\''keywords'\'' content='\''website, forwarding, masked'\''>",
"title": "Welcome to my forwarded website",
"type": "redirect"
}'
A successful response containing the updated URL forwarding entry.
The domain name (without subdomains) that is being forwarded.
The destination URL to which this hostname will be forwarded.
The complete hostname that is being forwarded (subdomain + domain).
Meta tags to include in the HTML page when using "masked" forwarding. Ignored for other forwarding types. Example: <meta name='keywords' content='fish, denver, platte'>
The title to be used for the HTML page when using "masked" forwarding. Ignored for other forwarding types.
The type of URL forwarding. Valid values:
masked
: Retains the original domain in the address bar, preventing the user from seeing the actual destination URL. Sometimes called iframe forwarding.redirect
: Uses a standard HTTP redirect (301), which changes the address bar to the destination URL.302
: Uses a temporary HTTP redirect (302), which changes the address bar to the destination URL but indicates the resource is temporarily located elsewhere.{ "domainName": "example.org", "forwardsTo": "https://destination-site.com", "host": "www.example.org", "meta": "<meta name='keywords' content='website, forwarding, masked'>", "title": "Welcome to my forwarded website", "type": "redirect" }