URL Redirect using htaccess and Index.html

DC***888

Registered
Oct 17, 2017
1
0
0
Singapore
cPanel Access Level
Website Owner
Dear All,

Pardon for my IT knowledge
Below is my coding
Code:
RewriteCond %{REQUEST_URI} ^example.com
RewriteRule ^(.*)$ demo1.example.com$1 [P]
Index.Html
Code:
<HTML>

<HEAD>

<TITLE>Booking System</TITLE>

</HEAD>

<FRAMESET>

<FRAMESET rows>

<FRAME src=”http://demo1.example.com“>

</FRAMESET>

</HTML>
I tried different way of redirecting my URL .

Firstly i am pointing my URL subdomain to another external server and The frame/iframe is not working for this case.

basically, in short, i am trying to redirect URL to another URL with the existing URL pointing to another server. but it kept on rejecting
 
Last edited by a moderator:

Muhammed Fasal

Well-Known Member
Aug 9, 2017
55
11
8
India
cPanel Access Level
Root Administrator

cPanelRyland

cPanel Technical Analyst
Staff member
Oct 4, 2017
23
2
78
TX
cPanel Access Level
Root Administrator
Hello,

Did the information provided above by Muhammed assist you in resolving this issue?

As mentioned I would recommend looking into the Redirects feature should you experience any issues.

Additionally please don't hesitate to reach out ot us should you require any further assistance.