Redirect to Wix, without changing URL

neutralweb

Registered
Apr 23, 2017
3
0
1
Mumbai, India
cPanel Access Level
Root Administrator
Hello Everyone,

I would like to redirect my "example.com" hosted on cPanel server to WIX portal, where i have developed a site using FREE templates, But keep the URL intact as "example.com".

The cPanel redirect works fine, but when i use the .htaccess to achieve what i want, it doesn't work.

Can someone let me know what wrong am i doing ?

Here is my code :

RewriteEngineOn
RewriteCond %{HTTP_HOST} ^Example Domain
RewriteRule ^(.*) https://ssomething.example.com/domain-india[P]
 
Last edited by a moderator:

neutralweb

Registered
Apr 23, 2017
3
0
1
Mumbai, India
cPanel Access Level
Root Administrator
What you might want to do in this case is add a CNAME for the domain where DNS is hosted to route it to the WIX URL.
Thank you so very much for your revert ,

But when i log on to my cPanel interface and try to add CNAME here, i get error saying :
  • You must specify a valid CNAME record.
The site i am trying to redirect is hosted on cPanel server and the TO address is on a WIX server, What wrong could i be doing ?

Appreciate your assistance.

Thank you