I'm putting up my first website using AlterVista as a hosting.
I have bought a second level domain from them with redirect and I am trying to set it right.
normally my page would use http://[domainname].altervista.org
I don't want anyone to see the altervista part, obviously after I have bought the second lvl domain.
The redirect works fine, when I open my [domainname].com
the page loads but ends up with the same http://[domainname].altervista.org
That is why I have enabled something called "cloak". Domain cloaking?
In subdomain/redirect part I have http://[domainname].com
to redirect to http://[domainname].altervista.org
and http://www.[domainname].com
redirecting to http://[domainname].altervista.org
.
The cloak is turned on. And inside the settings which are just a few fields, like title, destination (that's the http://[domainname].altervista.org
address) and meta tag things like description, keywords and customize headers which has:
<meta name="example" value="example">
...
Now, the problem is that this isn't working for me as expected? With this enabled when I enter my main domain [domainname].com
it redirects me to my website all fine, but the url looks just [domainname].com
... and nothing else, no index.php, no nothing whenever I switch between the urls on my site. It just stays as a static [domainname].com
no matter what.
Is this how it supposed to work or am I doing something wrong?
Again, all I wanted is to get rid of the altervista
third lvl domain part in the url when someone enters my website
so in the end it would be like:
[domainname].com/index.php
and so on...
but this cloak ends up doing something else... it's just giving me a static domain name and nothing else. No index part in the url, no sub/locations... just the domain regardless of where on the website I am.
The website is made in Joomla if that's any relevance but I guess it's not a CMS thing but related to how domain is being set on the server?
any suggestions?
Update: More details
My registrar is SoftLayer. I don't really have any details for logging to anything on softlayer site. I purchased the domain from AlterVista, they did the registering for me, I only had to put the details on some ICANN related website to make it work. Here is how things look in AlterVista cpanel:
I did contact the AlterVista about the situation, on their support forum but ofc it's early morning here so it will take some time, so I'm exploring alternative sources to check if maybe I can figure it out with someone else's help here.
On the support forum someone asked a similar question, and a staffer told him like this:
"The domain woks mostly as a redirect, you can activate the cloaking (show the actual site inside a HTML frame) but the actual website will remain on the domain. Using the cloaking feature and a bit of JavaScript you can however always show on the address bar the second level domain URL."