AdultHostSolutions Frequently Asked Questions

NEW CUSTOMERS:

How fast does my account get setup?
All accounts are setup within the first 24 hours after payment confirmation has been received, however most are setup within 8 hours.

How do I get my domains to work through AdultHostSolutions?
The only thing you need to do is to change the DNS (at your domain registration service) to point to:
Primary: ns1.adulthostsolutions.com
Secondary: ns2.adulthostsolutions.com

Do you redirect 404 traffic to other sites?
No! Your traffic is your traffic!

DOMAINS

What is your DNS information?
Primary: ns1.adulthostsolutions.com
Secondary: ns2.adulthostsolutions.com

Keep in mind, DNS updates can take between 24 and 72 hours to propagate across the entire Internet.

How do I add domains to my account?
Please email us at support@adulthostsolutions.com a list of the domains you want added with your Username.

How do I view my stats?
Stats are automatically generated for your account. The URL for your stats and your login information is mailed to you with your welcoming mail.

My web site doesn't load! I get a "403 Forbidden" error message.
Most often, this error occurs when there is no index.html (default web page) in the domain directory/folder. Be sure a file called index.html (in all lowercase) is in the appropriate domain directory/folder.


BANDWIDTH OVERAGE:

What do you charge for extra bandwidth?
If you go over, you will be billed for the overage at $5/GB, and if you think this will be an ongoing thing then we suggest an upgrade to the next plan. If you are already on the large plan then we will work with you to find the best solution to your needs.

Do you shut off my site if I go over my bandwidth limit?
No. We allow you to make your site grow. You will be billed for overage at the end of the month @ $5/GB. We can setup your account to automatically shut down once your bandwith allowance has been used. If this is an option you would like, please contact us and we will set it up.

What happens if I go over my HD space allowed for the plan I signed up for?
If you go over HD storage space allowed you will be charged $5 per 100 MB per month.

CGI-BIN:

What is the path to Perl?
/usr/bin/perl

What is the path to my cgi-bin?
/var/www/cgi-bin

Why does my CGI say "Premature End of Script Headers"?
You have not changed permissions on the CGI/Perl script to make it executable.

To do this from a Unix shell, type "chmod 755 <filename>".

Or, use your favorite FTP software and right-click the filename to make changes. If your FTP program does not allow you to enter a numeric permission, make sure the "x" (executable) bit is set for owner/group/other.

Why does my CGI say "Internal Server Error"?
There could be several reasons, but here is the most common:

For security purposes, we run a CGI "wrapper" called suEXEC. If your CGI/Perl script documentation had you "chmod" files/directories to 666 or 777, suEXEC will NOT allow the CGI to run. These file permissions are VERY dangerous, and should be changed to 644 and 755 respectively.

If this does not solve your problem, there is most likely something wrong in the code itself.

Where can I find CGI/Perl scripts for my site(s)?
We have links to a few places that might have what you need on our resources page

FTP:

Where can I download an FTP program?
Some popular FTP programs for the PC include:
Cute FTP by GlobalScape
FTP Voyager by RhinoSoft
WS FTP by IPSwitch

BILLING:

What if my credit card is declined?
W e attempt to bill your credit card after signing up and your site is setup after payment is confirmed. If your card is declined at later payment terms we notify you immediately and provide you 7 days to arrange payment. If after 7 days we have not received payment your site will be taken offline.

Is it possible to upgrade to a bigger plan?
Of course it is! Let us know which plan you want to upgrade to.

.HTACCES (Password Protection, ErrorDocuments, hotlink protection)

How do I password protect a folder or directory on my site?

Using NOTEPAD or another text editor, create a file called ".htaccess" which contains the following lines:

AuthType Basic
AuthName "Secure Area"
AuthUserFile /htdocs/<username>/<domain>/<dir>/.htpasswd

<Limit GET PUT POST>
require valid-user
</Limit>

You will of course need to replace <username> with your username, <domain> with a domain name that is hosted by us, and <dir> with the name of the folder/directory you are attempting to password protect. The ".htaccess" file must be placed INSIDE of the folder/directory you will be protecting.

In order for surfers to be able to access this part of your site, you must create a second file called ".htpasswd" which contains the usernames/passwords. This file must be placed in the folder your are protecting (as shown above in the AuthUserFile line). By using our Password Generation Tool, you can create accounts and paste them into your ".htpasswd" file.

How do I make custom 404, 403, etc, error pages?

First, create the HTML page which will replace the standard Apache error message (for example: 404.html, 403.html, etc). If you haven't already created an .htaccess file, open a text editor, such as NOTEPAD, and create a file called ".htaccess".

For each error you wish to customize, add a line to your ".htaccess" file:

ErrorDocument 404 /404.html

NOTE: The path to the file may vary slightly if you've put the 404.html file in a different folder/directory.

The table below shows common server status codes and when they might occur.

Status Code Error Occurrence
401 Authorization Required Invalid username/password entered
403 Forbidden Visitors are blocked from viewing directory contents
404 File Not Found File missing

How can I prevent hotlinking of my images?

AuthUserFile /dev/null
AuthGroupFile /dev/null

RewriteEngine On
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://([a-z0-9-]+.)*yourdomain.com/ [NC]
RewriteCond %{HTTP_REFERER} !^http://([a-z0-9-]+.)*someoneelse.com/ [NC]
RewriteRule /* http://yourdomain.com/index.html [R,L]

This code allows yourdomain.com and someoneelse.com to link to your pages. If someone other than that attempts to link they are redirected to yourdomain.com/index.html

To double check if hotlink protection is working click here and follow instructions.
 
     
 
 
Terms of Service | Acceptable Use Policy

© 2003-2007 Adult Host Solutions a division of AVI Systems. All rights reserved.