: URL rewrite and domain frame I have registered the domain www.posti.sh at nic.sh. The website is on the server www.myskoob.com/postish. Unfortunately, nic.sh does not support frames, i.e. that the
I have registered the domain posti.sh at nic.sh. The website is on the server myskoob.com/postish. Unfortunately, nic.sh does not support frames, i.e. that the domain stays posti.sh as it forwards to myskoob.com/postish - so I thought about a URL rewrite on the server.
Unfortunately I have no idea how rewriting works - I am thankful for explanations - but I would also like to ask whether this is generally possible. What I need is:
The server needs to recognize that the folder postish is accessed
Depending on the file that is opened, it needs to rewrite the url to posti.sh/<-according filename here->
Also, the server needs to understand that a link to posti.sh/about.php links to myskoob.com/postish/about.php and likewise for other files - at the moment, when I type in posti.sh/about.php it redirects to www.myskoob.com/postishabout.php, which does not exist
All this should be possible irrespective of whether the url contains a "www" at the beginning or not
A plus but not necessary would be that it does not display the .php extensions
Would that generally be possible? If not, what would be the alternatives? If anyone knows how to do it, any code and/or way to do it would be much appreciated!
More posts by @Sims2060225
1 Comments
Sorted by latest first Latest Oldest Best
Point the DNS to your existing domain (as per toomanyairmiles suggestion in comments of original post) - here is a guide on the Go Daddy website, but the principal is the same.
support.godaddy.com/help/article/680/managing-dns-for-your-domain-names
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.