How To Deny Access Via Www.mydomain.com/~mycpanelusername/

May 23, 2008

Is there a way to prevent accessing the website using the domain.com/~username/

Currently on most (all?) cpanel hosting plans it's possible to access the site via [rl].

Maybe there is something to prevent that as it could cause very serious duplicate content issues.

Moreover, I think it's a global bug that affects millions of hosting accounts. Yahoo, for example, many times indexes wrong URLs because of that... In many situations, if I knew your cpanel username, I could link to it instead of your domain to remove your site from search engines..

View 5 Replies


ADVERTISEMENT

How Deny All To Access Website

Apr 29, 2009

how can i deny all of ip instead 2 ip to access to some website?

because these are priv8 website and personal .

i thin that .htaccessis good.

can nany one creat it for me and ist good or use another method?

View 4 Replies View Related

The Order Ns1.mydomain Ns2.mydomain Matters

Oct 14, 2007

if Instead of using

ns1.mydomain.com
ns2.mydomain.com

I enter
ns2.mydomain.com
ns1.mydoamin.com

does that matter? because recently some seems to have problem accessing my site

View 8 Replies View Related

IX Web Hosting - Possible Worst Host Ever? Deny Access To Your Files!

Nov 6, 2008

I signed up for hosting with IX Web Hosting in April of 2007. There have been two occasions that they provided the perfect example of Terrible Customer Service. So much so, my last pony ride with IX Web Hosting was my last. I decided to call it quits and move my account to Host Gator.

I keep my most important sites on a dedicated server at Servint.net. If you are interested in a dedicated server or VPS, I highly recommend Servint. You will not beat the level of service and professionalism this company offers. But that’s another post in itself.

The point is, I had some SEO tests I wanted to perform and I was looking for a hosting company that would allow me to host 10 different domains in the same account on different ip addresses. IX Web Hosting had the plan I was looking for. So in April of 2007, I signed up for a hosting account.

Overall, I was pretty satisfied with the server performance at IX Hosting. I experienced very little if any downtime from server issues. They don’t offer a standard cpanel interface like most web hosts. It appears to be a proprietary / in house control panel.

It was pretty straight forward and with a little time I was up to speed.

Then on June 5, 2008, I got the following email from a System Administrator at IX Web Hosting.
---------------------------
Hello,
My name is Anthony, and I am a system administrator at IXWebhosting. I’m here to ensure a reliable and fast hosting / e-mail environment. This is the reason why I ask you to get in touch with us.

We have received numerous complaints from third-parties about spam originating from your website. As you may know, spam is an on-going problem for all internet users, hence all companies have very strict rules against spam. I am here to ensure that neither you nor any other customer is facing any downsides which could be the result of these spam regulations.

We ask you to immediately cease and desist any such activities. If you are unaware of this activity, please contact me or any of my colleagues via this ticket, phone or live-chat so that we can find the reason for the spam activity together and fix the issue instead of the symptom. Viruses and things of that nature may be installed on your computer and will cause the spamming. We recommend that you run an anti-virus program. If you currently do not possess an anti-virus program, you may download a free version. Please just follow the link below to find Google’s best links for free anti-virus software:

google.com/search?q=free+anti-virus+software [url]

In order to ensure your hosting and mail environment is working flawlessly, we ask you to get in touch with us within the next 72 hours. I highly appreciate your time.
Best Regards,
Anthony Washington
System Administrator
IXWebhosting
-----------------------------------

They identified the domain as bestadtracking.com. This is a domain I own but have never promoted. Not only had I not sent spam through IX Web Hosting, I averaged less than 200 sent email a month on all the domains on my account. So on June 6, 2008 I responded to IX Web Hosting with the following two messages.
-----------------------------------
Hi Anthony,
I can assure you I am not sending spam from this domain or any others. I’m a little surprised that this domain is in question? I set it up over a year ago and haven’t ever promoted it. I don’t send any type of email over this domain. I have no reason to. It gets no traffic or inquiries.

Are you sure there isn’t some type of mistake? Otherwise, there are a couple of php style contact forms on that site. Could a hacker use that sort of thing to send spam? How can we track this down?
Thanks,
Brent Crouch
615-389-XXXX
-----------------------------------
Here is the second email I sent on the same day.
-----------------------------------
Hi Anthony,

I am using AVG on my computer and the scan completed finding no viruses. Besides that, I am using Outlook to manage the mail on several of my domains. I don’t even have a send account setup for bestadtracking.com on my computer. As I stated in the previous reply, I have no reason to since this domain is not promoted.
Can you give me the IP address of where the spam originates? I’d like to compare that to my IP address here at home and office.
Thanks,
Brent Crouch
-----------------------------------

I had no information to track the issue any further. The lack of response from IX Web Hosting left me to believe the issue had been resolved or there had been a mistake. Then 4 days later on June 10, 2008 I got this message.
-----------------------------------
Brent
We tried to reach you today in order to resolve this issue, but unfortunately it has been well over 72 hours since this ticket was placed. We must sadly suspend your services, please do not hesitate to call us at 1-800-385-0450 any time, day or night.
Best Regards
Ian
-----------------------------------
Amazing! They give me no information to solve this problem. On top of that, they don’t respond to my ticket in 4 days and because I didn’t answer the phone when they called they suspended not only the domain in question but every domain listed in my account.

I called in and spoke to a tech support guy who allowed me to remove the domain in question and in return, he restored my other domains. He also left a message to have the tech support manager call me the following day.

The manager I spoke to apologized for the way the ticket was handled and the lack of information that was given. He said he would follow up with the employees that were responsible for the ticket and make sure it never happened again. He was helpful in looking at the server logs and determining how someone had loaded a spam bot onto my site.

Apology accepted. Stuff happens. I considered it water under the bridge and not a big deal. Not so much…..

After my first run in with IX Web Hosting, I wrote the whole incident off as a fluke. The manager I spoke to seemed very sincere and assured me that wasn’t proper protocol and wouldn’t happen again. I was trucking right along until I got this email from them on October 26, 2008.
-----------------------------------
Dear Brent Crouch,
We have received notification of phishing material in your account. Phishing files are usually placed through some type of exploit of out dated code, weak file and folder permissions. Packaged shopping carts and photo galleries are usual sources as hackers find exploits and developers fix them almost daily, so unless you constantly update the software or completely secure it things like this can happen.

You must agree to remove this content and update any software that has resulted in security holes. To protect your account from further action you must agree to our request for compliance. Please respond to this message stating your intent to do so. You may either log into your control panel with us, and access this ticket via the 24/7 help desk, or provide this ticket number to our Live Chat or phone representatives. Failure to respond to this message within 72 hours will result in the suspension of the affected domain with us until such a time as this matter is resolved.
Michael
-----------------------------------
The email gave me no indication of which domain had been hacked. When I wrote to live help and gave them the ticket number, I spent 10 minutes waiting only to be told they didn’t know which of my domains had been effected. They recommended I reply to the online support ticket.

Here is the email I sent them in response on October 27, 2008.
-----------------------------------
I replied to live help and they could not find any information. So far you haven’t told me which domain is a problem.
Please give me the info I need to correct this problem and I’ll take care of it.
Brent Crouch
615-389-XXXX
-----------------------------------
Eight hours later, I was able to find the problem by viewing all the files on my domains and looking for the files that had been recently changed. It turned out my brentcrouch.com domain had been hacked and setup with all sorts of eBay and bank phising pages. The site operates on a Wordpress platform which is widely used and is a big target for hackers.
[url]
I wrote back to IX Web Hosting for a second time on October 27, 2008.
-----------------------------------
I found the problem on my brentcrouch.com domain. I updated the wordpress software to the latest and cleaned up the problem. The only exception is the brentcrouch.com/forum directory. I am unable to delete this directory as the hacker has removed my access. Please delete the directory.
Thanks,
Brent Crouch
-----------------------------------
The following day, here is the email I got back from IX Web Hosting.
-----------------------------------
Brent:
Thank you for your attention to this matter. Per your request we have removed:
/brentcrouch.com/forum - deleted
We will be closing this ticket at this time. If you have any questions please feel free to contact us. We will be happy to assist.

Please note that this is the second time this problem occurred. Unfortunately, I have to bring to your attention that as per our terms of service a third instance will result in immediate account termination without notice. No backups will be provided. If you have any questions about how to avoid this from happening again our support team will be glad to advise.

Respectfully
Frankie
Support Tech Representative
-----------------------------------
When I seen that response, I was pissed! I run my own server at Servint.net. I’ve hosting accounts at several other hosting companies. I’ve never had a site hacked except from IX Web Hosting.

In 4 months, I’ve had two sites hacked. In both instances, IX Hosting was zero help in locating the source of the problem. In the first incident, they didn’t even reply to my ticket for 4 days. In the latest incident, they couldn’t even tell me what domain was hacked.

Then they send me an email telling me if it happens again not only will they suspend my account, they’ll deny me access to my files! Huh?

That’s not a risk I’m willing to take. With the high costs of obtaining customer’s in this business, I’m a little surprised they don’t do a better job of trying to retain them. In my opinion, this policy is unacceptable and makes IX Web Hosting one of the worst hosts I’ve ever dealt with.

I just signed up for a hosting account with Host Gator and have already moved all my domains over. So far, so good.
What’s your experience with IX Web Hosting?

View 14 Replies View Related

Deny Access To Exim For Free Trial Users

Jul 18, 2007

INTRODUCTION

As owner of a hosting provider company, I face the problem of abusive users almost every day. More than 90% of all abuse on my server comes from free trial accounts. I offer free trial access to my servers for people who want to try things out before they purchase a hosting package, but off course this attracts spammers. To prevent trial users from using my server for spamming purposes, I modified my exim.pl file to prevent trial users from accessing the Exim mail server.

Please note that this tutorial has been written for cPanel servers. If you want to use it on a server with a different control panel, you'll need to modify the cpgetpack.c source. If you do so, please share your work with the community by posting it in a reply here.

STEP ONE

First you’ll need to download, compile and install my cpgetpack.c application. Here’s how:

Code:
gcc cpgetpack.c -o cpgetpack
mv cpgetpack /usr/bin/
chown cpanel:cpanel /usr/bin/cpgetpack
chmod +s /usr/bin/cpgetpack
STEP TWO

Now open the /etc/exim.pl file in your favorite text editor (make a backup first) and look for the following inside the checkuserpass subroutine:

Code:
$trueowner =~ s////g;
$trueowner =~ s/..//g;
if (isdemo(${trueowner})) {
return('no');
}
Below, paste the following code:

Code:
my $name = getpwuid($uid);
open(UP, "cpgetpack $name|");
my $userplan = <UP>;
close(UP);chop($userplan);
if ($userplan eq "radix_FreeTrial") {
return "no";
}
You will have to replace the radix_FreeTrial string with the package you assign to your trial users. This will prevent trial users from authenticating which prevents them from sending mail remotely.

STEP THREE

Users are now still able to send mail locally (for example using the PHP mail() function), so here’s what to do next.

Find the checkdemo subroutine in the exim.pl file and replace the complete subroutine with:

Code:
sub democheck {
my $uid = Exim::expand_string('$originator_uid');
if (isdemo($uid)) { return 'yes'; }

my $name = getpwuid($uid);
open(UP, "cpgetpack $name|");
my $userplan = <UP>;
close(UP);

chop($userplan);

if ($userplan eq "radix_FreeTrial") {
return 'yes';
}

return 'no';
}
STEP FOUR

Now just restart Exim:

Code:
service exim restart
It might be a good idea to create a trial account and see if it’s working. Enjoy!

REFERENCE:

Original post: [url]
Best regards,
Josh Burt

View 0 Replies View Related

Apache :: How To Deny Access To Specific File Using HTAccess

Jun 21, 2014

I would like to deny access to .log

View 1 Replies View Related

Apache :: Deny Direct Access To Images From Other Websites In HTAccess

Jan 28, 2013

I have recently had number of websites that link directly to images from my website. This is not hotlinking, it is direct server request. As an example: on the linking website there is image gallery script with thumbnails and when the visitor clicks on the thumb it calls the image from my website.

I block their IP-s in .htaccess, but it is not the best way to stop them since IP change. Is there any way, similar to anti-hotlinking, to deny such direct access to my images by domain name i.e. to allow only from my website and deny from all others. Or something else that could work in my case with .htaccess.

View 8 Replies View Related

APF Deny Rules Still There Even If The Deny.hosts_rules File Is Empty

Feb 9, 2007

I edited the /etc/apf/deny.hosts_rules files, then removed all lines from the file and finally restarted apf so it can restart with no deny host listed. But that is not working... the file appears empty or again with the rules removed before.

iptables -L -n shows the same banned hosts as dropped.

I already tried.. remove the deny hosts IPs from the file, then ran "iptables -F", then "service iptables save", and finally restarted apf and the deny IPs still there

View 6 Replies View Related

Why Does Mydomain.org Work, But Www.mydomain.org Will Not

Mar 29, 2007

I have just setup a .org website and when I point a browser to it, it only seems to load if I leave the www out in front of the name. Why would this be? What did I forget? The domain name is bsa272.org if that helps anybody.

View 2 Replies View Related

Www.mydomain.com/whm

Apr 2, 2007

Whenever I have had a server with WHM/cPanel I have always been able to raise WHM by browsing to www.mydomain.com/whm - however on my latest server this doesn't work, I can only get to WHM by browsing to my IP:2086

The server has been up and running for 6 days and www.mydomain.com has been working almost from the beginning.

dnsreport shows that reverse dns exists for hostname.mydomain.com

I am at a loss to know why I cannot raise WHM by www.mydomain.com/whm

View 5 Replies View Related

Email @mydomain

Jan 19, 2007

I just sign up godaddy email account premium plan, what i get is 100email accounts and 2gb of total. I also purchased a domain name.

My questions:

1. I think 2gb for 100 email accounts are too small for me, is there anyway to upgrade to bigger storage? or i have to purchase web hosting so that my email storage will get bigger?

2. I try to follow all the instructions provided by godaddy for the microsoft outlook setting of email. I cannot successful receive email, the problem is from the incoming mail server. Godaddy website asked us to fill in with mail.(Domainname).com, so i fill in with the domain name which i just purchased and it doesn't work, just keep pop out and ask me to put in username and password.

View 7 Replies View Related

Www.subdomain.mydomain.com

May 7, 2007

how to setup sub domains to look like: [url] instead of just [url]

View 0 Replies View Related

Ns2.mydomain Not Working But Ns1 Is

Oct 7, 2007

my nameserver are messed up ns1.32view.com works but ns2.32view.com doesnt everything seems to be done rite they both have their own ip both ips work correctly setup at godaddy aswell anyone got any ideas?

View 4 Replies View Related

CNAME Map On Mydomain.com To Anotherdomain.com

Aug 27, 2008

I am simply wanting to map on mydomain.com to anotherdomain.com. So i setup a CNAME on mydomain.com. Once propagated mydomain is not being picked up and is defaulting to the cpanel successfully installed screen.

I have tried this on another of our servers and this does work.

So my question is: can you use a CNAME to map mydomain.com to anotherdomain.com without having to add the mydomain.com to the apache VirtualHost ServerAlias?

It does seem like you can as i have this working on one server - is there an apache setting somewhere to block this?

Thanks in advance!

View 6 Replies View Related

Dns Setup On Server.mydomain.com

Aug 28, 2007

I have problem with dsn setup .

Quote:

IMPORTANT: Do not ignore this email.

The hostname (server.mydomain.com) resolves to . It should resolve to 209.40.xxx.xxx. Please be sure to correct /etc/hosts as well as the 'A' entry in zone file for the domain.

Some are all of these problems can be caused by /etc/resolv.conf being setup
incorrectly. Please check this file if you believe everything else is correct.


You may be able to automaticly correct this problem by using the ' Add an A entry for your hostname ' under ' Dns Functions ' in your Web Host Manager

View 4 Replies View Related

How Do I Generate A Certificate For Mail.mydomain.com

Sep 6, 2007

After successfully installing postfix+dovecot on Debian, I've run into a problem using Thunderbird email client on my home pc to receive email. I get: "Security Error: Domain Name Mismatch"

How, then, do to I generate a certificate for mail.mydomain.com?

Before installing postfix+dovecot, I created an MX record for mail.mydomain.com, and an A record for mail.mydomain.com. Should I have also added mail.mydomain.com to /etc/hosts?

When setting up Thunderbird, I told it my Pop Server was mail.mydomain.com. When I attempted to Get Mail, then I got "Security Error: Domain Name Mismatch".

View 5 Replies View Related

MyDomain.com - Hosted Site Down These Past Days: Any Other Experiences

Sep 26, 2008

I have a blog (hindigo.net) registered and hosted through mydomain.com (Standard Windows Package). For the past days, it has been unaccessible most of the time (either keeps trying to load without success, or loads a blank page).

When accessing the site structure through FTP, all files are fine, and I can access the control panel without any problem.

I tried to get some info on possible server updates from the support, but their answers are not very informative:

- either a server update;

- or the site is working fine (it was indeed yesterday late, as I am in Asian time zone);

- or they ask to put DNS to NSx.MYDOMAIN.COM, while the hosting solution automatically puts NSx.MYDOMAINWEBHOST.COM

Am I the only one facing issues this past days with MyDomain.com, or is this general?

I am in the process of switching to another provider (Infomaniak.ch) anyway, but if this is a personal situation only (e.g. site attack?)

View 5 Replies View Related

Cron Job :: To Forward Email From Root@server.mydomain.com To My Gmail

Jan 30, 2008

I setup my cron job run daily and it automatically sends email to root@server.mydomain.com after it done. How do i setup forward email from root@server.mydomain.com to my gmail or other external email provider ? That means every time if root@server.mydomain.com receive email than my other maail will get that email too.

View 4 Replies View Related

How Can I Deny All Ip From China

Apr 10, 2009

how can i deny all ip from china?

they want to ligin to my ssh but lfd ban their ip

View 14 Replies View Related

Flush CSF (csf.deny)

May 15, 2008

How can flush csf blocked ips? (csf.deny)

View 4 Replies View Related

Cpanel IP Deny Service.

Mar 6, 2006

I want to ban complete range of an IP address. Lets say 123.123.123.12

Can I enter 123.123.0 to ban the range of IP addresses? Cpanel does not any info on blocking a range of IP addresses.

View 4 Replies View Related

IPtables Deny Many IP Addresses

Jun 5, 2007

my iptables deny very very ips. how may i delete them?

View 7 Replies View Related

DDOS & IP Deny Manager

Jun 7, 2009

One of my client got DDOS on his website. He has visitor tracking module in his php script so he got almost 50,000 records during couple of hours. Normally he gets around 300 unique visitors per day but that DDOS added 50,000 records in tracking table. After extracting this data I got around 400 unique IPs.

Will this work if I added all these IPs in IP Deny Manager?

Will this stop DDOS from these IPs?

Will server not treat requests from these IPs as grabadge load?

Another question is from where these attackers got so many IPs? Definitely they pay to get IPs? how much they pay? Is this very easy to get so many IPS?

View 4 Replies View Related

Hosts.deny Configuration

Jul 16, 2009

Completely new stuff for me so i have a few basic questions.

It all started after i've noticed a lot "/w00tw00t.at.ISC.SANS.DFind:" lines in log and after i've found they are random scanning by some hacker tool.

It is suggested to block IP's from where those attacks is comming by putting IP+s in host.deny.

Correct me what i am doing wrong as i keep seeing those scans after I've updated deny file.

I've edited hosts.deny like this:

ALL: 77.68.37.242, 89.19.2.58, 80.93.210.194

That is correct?

After that i've restarted sshd service but i still someone scanning my server from those IP's.

View 8 Replies View Related

Deny All Connections To Certain Port, Except For 127.0.0.1

May 28, 2009

I have problems configuring some ports and rules on CSF on a cPanel server.

Port 37500 is used by a Java web app, so, i opened both tcp incoming and outgoing ports:

Code:
TCP_IN = "20,21,22,25,26,53,80,110,143,443,465,587,993,995,2082,2083,2086,2087,2095,2096,37500"
TCP_OUT = "20,21,22,25,26,37,43,53,80,110,113,443,587,2087,2089,2703,37500"
Then.. to allow access from the server IP and localhost, added this at csf.allow:

Code:
tcp:in:d=37500:s=127.0.0.1
tcp:in:d=37500:s=my.server.ip.address
csf.ignore:

Code:
127.0.0.1
my.server.ip.address
And to deny all access to the server on that specific port (except for the ones I whitelisted before), added this to csf.deny:

Code:
tcp:in:d=37500:s=0.0.0.0/0
Result = no one can connect to the server on that port, not even from the web app itself, it's not connecting to the port 37500.

How can I configure port 37500 to accept local connections (from the web server) and deny all external connections?

View 6 Replies View Related

SSH Blocked :: /etc/hosts.deny

Oct 27, 2008

Yes, more ssh problems. I fixed it the last time. My IP was being block in "/etc/hosts.deny". So I removed my IP and BAM worked! I could login to SSH. Now today I get locked out AGAIN. I go in a look in "/etc/hosts.deny" my IP is not in there. So now I'm so confused and can't figure out whats going on....

View 12 Replies View Related

Deny Sendmail Connections

Jul 24, 2008

I run a small hosting company in Spain. I have some dedicated servers in USA with Ensim control panel.

I have found some sendmail connections from spammers that use the accounts of my customers.

I want to know if I can deny connections to sendmail from all countries except Spain. This way most of foreigns spammers could not use the accounts of my customers to send spam.

My servers has Sendmail version 8.13.6.

View 2 Replies View Related

Hosts.deny Maximum

Aug 4, 2007

What are the maximum number of entries that can go in hosts.deny? Will the server bog down the more entries that are in there? How many is a safe, reasonable number?

View 2 Replies View Related

.htaccess-- Deny Froms

Apr 2, 2007

I have amassed a large number of IP addresses [both partial and whole] in my .htaccess file-- which I deny access to. I have two questions:

[1] Can a larger list effect server performance?

[2] MySQL databases seem to be ignoring the .htaccess list. Why would this happen?

View 2 Replies View Related

Iptables Or Host.deny For VPS & Fail2ban?

Sep 21, 2006

Hello, I recently got myself into an unmanaged VPS package and I noticed in my log files, countless attempts to ssh into the system. After a bit of searching, fail2ban looked like a good way to ban the brute force attacks automatically.

My question is what should I configure it with? There's the option for iptables or host.deny. I've read that iptables are not fully supported under Virtuozzo but the stuff I've read are a bit dated. Are there still some issues with iptables under Virtuozzo?

What I'm using now:
*Virtuozzo 3 -not sure on exact version. Whatever SolarVPS is using.
*Signed up with centos4
*uname -r = 2.6.9-022stab078.14-enterprise

View 7 Replies View Related

Stopping Updating Cron.deny

Jun 12, 2007

I designed one of my web services so that 'nobody' has to put commands to cron. Unfortunately this thing stops to work from time to time because "someone" is putting 'nobody' back to cron.deny file.

How to stop that?

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved