Mobile app version of vmapp.org
Login or Join
Sims2060225

: 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

@Sims2060225

Posted in: #Domains #Url #UrlRewriting

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!

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Sims2060225

1 Comments

Sorted by latest first Latest Oldest Best

 

@Margaret670

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

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme