Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
10-12-2016, 03:11 PM | #1 |
Confirmed User
Industry Role:
Join Date: Apr 2014
Posts: 386
|
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 |
10-12-2016, 03:29 PM | #2 | |
Too lazy to set a custom title
Industry Role:
Join Date: Feb 2005
Posts: 17,172
|
Quote:
|
|
10-12-2016, 03:35 PM | #3 |
Confirmed User
Industry Role:
Join Date: Apr 2014
Posts: 386
|
with www?
|
10-12-2016, 03:36 PM | #4 |
Too lazy to set a custom title
Industry Role:
Join Date: Feb 2005
Posts: 17,172
|
|
10-12-2016, 03:39 PM | #5 |
VIP
Industry Role:
Join Date: Jul 2013
Posts: 22,105
|
Try to add the following code to your root .htaccess file:
Code:
RewriteEngine on RewriteCond %{HTTP_HOST} !^www\. RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
__________________
|
10-13-2016, 02:58 AM | #6 |
Confirmed User
Join Date: Oct 2002
Location: Holland
Posts: 466
|
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. |
10-13-2016, 08:00 AM | #7 |
Confirmed User
Industry Role:
Join Date: Apr 2014
Posts: 386
|
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 ... |
10-13-2016, 03:49 PM | #8 |
Confirmed User
Join Date: Oct 2002
Location: Holland
Posts: 466
|
adulthashtag.com gives forbidden.
Check your httpd.conf: <VirtualHost *:80> DocumentRoot /var/www/yoursite ServerName adulthashtag.com ServerAlias www. adulthashtag .com ... </VirtualHost> |
10-14-2016, 07:41 AM | #9 |
Confirmed User
Industry Role:
Join Date: Apr 2014
Posts: 386
|
I can not do ... I do not see anything over my home ... is a managed server.
I ask for assistance, hopefully good |
10-14-2016, 08:44 AM | #10 | |
Confirmed User
Industry Role:
Join Date: Apr 2014
Posts: 386
|
This is the first service response
Quote:
|
|
10-14-2016, 03:56 PM | #11 |
Confirmed User
Industry Role:
Join Date: Apr 2014
Posts: 386
|
After another day wasted, the assistance decided to remove from my .htaccess gzip compression and the cahce system to solve the problem ...
I have no more polite words to describe them .. At this point, you can suggest some good server? |