Jump to content

How To Make Domain Points To Perticular Url.


patents

Recommended Posts

I want to add domain (free one like .tk) that will point out to one of my domain.

for example. I register example.tk and would like it to point out to patents.heliohost.org/example/ but do not update the visitor's url.

 

This way the entire relatie urls also points to exmaple.com directly.

 

for eg.

 

If I point example.tk/practical it should point to patents.heliohost.org/example/practical.

 

I tried url redirect but it takes me to example.tk/example/practical.

 

I don't want to play with all the things in cpannel that I don't understand which can break the site.

 

Someone please point out the right way.

 

 

Link to comment
Share on other sites

I have django app folder at: public_html/example

 

I have used addon domain using this configuration:

 

New Domain Name

 

example.tk

 

Subdomain

example

 

No ftp ticked.

 

I got success.

 

it looks like this now:

 

Modify Addon Domain

Addon Domains

 

Document Root Subdomain Redirects to Action

home/public_html/example example not redirected Remove

 

 

Now visiting example.tk gives me 500: internal server Error.

 

visiting: http://example.patents.heliohost.org/ is also giving same error.

 

Please note example is just an example.

 

I am hosting django app which works well.

 

Edited by patents
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...