GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Sites will not work without www (https://gfy.com/showthread.php?t=1221388)

porn-update 10-12-2016 03:11 PM

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

Denny 10-12-2016 03:29 PM

Quote:

Forbidden

You don't have permission to access / on this server.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
Maybe check your .htaccess file or file permissions?

porn-update 10-12-2016 03:35 PM

with www?

Denny 10-12-2016 03:36 PM

Quote:

Originally Posted by porn-update (Post 21218080)
with www?

Worked with www.

j3rkules 10-12-2016 03:39 PM

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]


Kafka 10-13-2016 02:58 AM

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. :(

porn-update 10-13-2016 08:00 AM

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:

Kafka 10-13-2016 03:49 PM

adulthashtag.com gives forbidden.

Check your httpd.conf:


<VirtualHost *:80>
DocumentRoot /var/www/yoursite
ServerName adulthashtag.com
ServerAlias www. adulthashtag .com
...
</VirtualHost>

porn-update 10-14-2016 07:41 AM

I can not do ... I do not see anything over my home ... is a managed server.

I ask for assistance, hopefully good

porn-update 10-14-2016 08:44 AM

This is the first service response

Quote:

Hello,

Your .htaccess file was blocking any access to your website.
I have gone ahead and disabled it for you.

Thanks,
My balls are rolling on the ground ...:Oh crap

porn-update 10-14-2016 03:56 PM

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