![]() |
Sites will not work without www
Hello to all,
I noticed a few days ago a problem on my sites For example visiting adulthashtag.com without writing www, I see a 403/500 error writing www everything works properly. I found the problem only on the first access, then with or without www it does not matter, but if I delete the browser cache, I go back to see the error. I contacted the server service but do not know how to help me, continue to repeat: it is the fault of your ip, server resources, ip, server resources, ip, server ... like a broken record. I have two connections with dynamic IP and use Tor network, the server is more than good with its resources. Sometimes it breaks something when you start some big cronjob, but nothing more. Can you help me understand what's going on? Visiting adulthashtag.com (no www) what you see? The server is a shared vps with cpanel of Certified Hosting, has anyone had similar problems with these services? Do you have any idea to solve? Thank you all |
Quote:
|
with www?
|
Quote:
|
Try to add the following code to your root .htaccess file:
Code:
RewriteEngine on |
Check your dns settings , yourdomain.com AND www.yourdomain.com should point to the same server ip.
technically you have duplicated content but google will www set as default. After reading your problem more thoroughly, i don't think this is the solution. :( |
Thanks for the answers.
since yesterday, more discoveries, more confusion ... My domains are all registed on namesilo, all with dns dns1.icertified.net, dns2.icertified.net Of certified hosting I have 2 services, vps in question (where is adulthashtag.com) and a share hosting where resides a virtually identical site xxxhashtag.com xxxhashtag.com (hosting) it seems to work perfectly with www, even without www So, I think there are no changes to make on httaccess, are identical, and I do not think the problem is namesilo, are all set in the same way. There is something strange in cpanel? I gave a look at the area of cpanel dns management, it does not have great setting and seem equally between the 2 servers ... Where can be the problem? You see properly xxxhashtag.com without www? Maybe only I see, because of some cache? The ridiculous thing is that the hosting from $ 70 a year working, there vps from 70 $ a month does not work ...:mad: |
adulthashtag.com gives forbidden.
Check your httpd.conf: <VirtualHost *:80> DocumentRoot /var/www/yoursite ServerName adulthashtag.com ServerAlias www. adulthashtag .com ... </VirtualHost> |
I can not do ... I do not see anything over my home ... is a managed server.
I ask for assistance, hopefully good |
This is the first service response
Quote:
|
After another day wasted, the assistance decided to remove from my .htaccess gzip compression and the cahce system to solve the problem ... :upsidedow
I have no more polite words to describe them .. At this point, you can suggest some good server? |
All times are GMT -7. The time now is 10:51 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc