diff --git a/src/javascript/_common/url.js b/src/javascript/_common/url.js
index 20087c662cf..ec7e36dfa6e 100644
--- a/src/javascript/_common/url.js
+++ b/src/javascript/_common/url.js
@@ -64,10 +64,10 @@ const Url = (() => {
const default_domain = 'binary.com';
const host_map = { // the exceptions regarding updating the URLs
- 'bot.binary.com' : 'www.binary.bot',
- 'developers.binary.com': 'developers.binary.com', // same, shouldn't change
- 'academy.binary.com' : 'academy.binary.com',
- 'blog.binary.com' : 'blog.binary.com',
+ 'bot.binary.com' : 'www.binary.bot',
+ 'api.deriv.com' : 'api.deriv.com', // same, shouldn't change
+ 'academy.binary.com': 'academy.binary.com',
+ 'blog.binary.com' : 'blog.binary.com',
};
const urlForCurrentDomain = (href) => {
diff --git a/src/javascript/config.js b/src/javascript/config.js
index bffe559353e..f9f6535dd97 100644
--- a/src/javascript/config.js
+++ b/src/javascript/config.js
@@ -111,7 +111,7 @@ const getSocketURL = () => {
const is_real = loginid && !/^VRT/.test(loginid);
const server = isProduction() && is_real ? 'green' : 'blue';
- server_url = `${server}.binaryws.com`;
+ server_url = `${server}.derivws.com`;
}
return `wss://${server_url}/websockets/v3`;
};
diff --git a/src/javascript/landing_pages/common.js b/src/javascript/landing_pages/common.js
index 410f246fdb4..10551cebf12 100644
--- a/src/javascript/landing_pages/common.js
+++ b/src/javascript/landing_pages/common.js
@@ -90,7 +90,7 @@ function urlFor(path) {
function wsConnect() {
const config_server = localStorage.getItem('config.server_url');
- const server_url = config_server || 'frontend.binaryws.com';
+ const server_url = config_server || 'frontend.derivws.com';
endpointNotification(config_server);
return new WebSocket(`wss://${server_url}/websockets/v3?app_id=${getAppId()}&l=${getLanguage()}&brand=binary`);
diff --git a/src/root_files/_common/404.html b/src/root_files/_common/404.html
index 64075cdb578..e02881f591d 100644
--- a/src/root_files/_common/404.html
+++ b/src/root_files/_common/404.html
@@ -56,7 +56,7 @@
}
function openWSAndGetLanguage(cb) {
- var ws = new WebSocket('wss://frontend.binaryws.com/websockets/v3?app_id=1&brand=binary');
+ var ws = new WebSocket('wss://frontend.derivws.com/websockets/v3?app_id=1&brand=binary');
ws.onopen = function() {
ws.send(JSON.stringify({ website_status: 1 }));
diff --git a/src/root_files/app/index.html b/src/root_files/app/index.html
index ee99171a48a..3b630687a71 100644
--- a/src/root_files/app/index.html
+++ b/src/root_files/app/index.html
@@ -73,7 +73,7 @@
if (lang) {
redirect();
} else {
- var ws = new WebSocket('wss://frontend.binaryws.com/websockets/v3?app_id=1&brand=binary');
+ var ws = new WebSocket('wss://frontend.derivws.com/websockets/v3?app_id=1&brand=binary');
ws.onopen = function(e) {
ws.send(JSON.stringify({'website_status': '1'}));
};
diff --git a/src/templates/_common/_layout/footer.jsx b/src/templates/_common/_layout/footer.jsx
index fff492eab9e..6b35ffce69d 100644
--- a/src/templates/_common/_layout/footer.jsx
+++ b/src/templates/_common/_layout/footer.jsx
@@ -104,7 +104,7 @@ const Footer = () => (
header={it.L('Partner With Us')}
items={[
{ text: it.L('Affiliate and IB Programme'), href: it.url_for('affiliate-ib') },
- { text: it.L('API'), href: 'https://developers.binary.com', target: '_blank' },
+ { text: it.L('API'), href: 'https://api.deriv.com', target: '_blank' },
{ text: it.L('Binary.com Shop'), href: 'https://shop.binary.com', target: '_blank' },
/* { text: it.L('Charitable Activities'), href: it.url_for('charity') }, */
{ text: it.L('All Partnership Options'), href: it.url_for('partners') },
diff --git a/src/templates/app/endpoint.jsx b/src/templates/app/endpoint.jsx
index 27c349cf394..bf999e3d66a 100644
--- a/src/templates/app/endpoint.jsx
+++ b/src/templates/app/endpoint.jsx
@@ -12,14 +12,14 @@ const Endpoint = () => (
type='text'
label={it.L('Server')}
attributes={{ maxLength: 30 }}
- hint={it.L('e.g. frontend.binaryws.com')}
+ hint={it.L('e.g. frontend.derivws.com')}
/>