Htaccess Ban Parts Of Hostname
Dec 6, 2007IP changes all the time. but one thing that doesnt change is the last part of his hostname. 'dynamic.dsl.as9105.com' how can I ban this? I want for example ban on *dynamic.dsl.as9105.com
View 1 RepliesIP changes all the time. but one thing that doesnt change is the last part of his hostname. 'dynamic.dsl.as9105.com' how can I ban this? I want for example ban on *dynamic.dsl.as9105.com
View 1 RepliesI have an folder in my server, total size is about 5GB. I want to zip it and cut into 5 parts sized 1GB. Which command should i run.
After reading via google, i just found out run
zip -r filename.zip homedir/
to create a zip file.
i plan to buy some used 1750 and 1850 Dell servers and 2 new 1950. I need spare parts: I know i have to get Power Supply, Motherboard, headsink, and others (cdrom, floppy) from DEll, but what about hard drives, rams, cpu's? Can I get these things from outside companies such as buying the same technical specs SCSI harddrive from Seagate (which is generally cheaper) to replace failed harddrives in these Dell's? what about Rams (given same tech specs)? Will they fit!
i know building servers with SuperMicro case and server mobo, we can get generic parts. maybe we can go this route, but we need to know from those who have worked with Dells.
I am building a server using two Clovertown E5320 processors for a project. I need some suggestions for a motherboard and memory. I have looked at some boards on Newegg, but I'm still unsure. I do not have a large budget for the motherboard, so the cheaper, the better.
If anyone has other processors they would go with alternatively I'm open to suggestions there as well. It was either going to be a single Clovertown (later to be two) or two AMD Opteron 2212's....
I receive an email like this each day:
SUBJECT: Cron <root@deer> run-parts /etc/cron.daily ........
Wondering what kind of storage hardware server builders are using to keep organized? I am currently storing HDD, RAM, PSU, CPUs, and other various parts on shelves and it gets disorganized and messy very quick.
I found this product for HDD and may order some to help organize HDDs:
[url]
Anyone know of similar products or good shevling / cabinets that are computer parts friendly?
I'm wanting to build a little custom server just to do test and things at the house. I plan on buying all the parts for this at newegg.com.
View 3 Replies View Relatedany way to find out how many surfers are on your website simultaneously / concurrently.
i have download site, scripts site and a forum on the same dedicated server using the same domain name. the forum tells me i have xxx number of users online... is there a way to find out how many surfers there are on the download and scripts part of the site?
i tried
ps -aux |grep httpd
but it shows significantly lower numbers than i can see on the forum. and i havent added the script and download parts of the site.
I got a good deal on the Supermicro SC822T-R550LPB case, and then bought a Tyan Motherboard(S3970).
Unfortunately, the IO shield that comes w/the board does not fit the case, and the one from the case does not fit the mboard. A set of FAN cables do not reach the mboard either. Does anyone know of any place that sells these parts?
I am trying to set up a reverse proxy to the application Surveillance Station on my Synology NAS. Altough the reverse proxy works ok for other apps like Webadmin, Download Station and such, parts of the Surveillance Station app do not work, particulary the Live View & Time Line.
From the logs, I suspect an authorisation problem (because of the 401), but I'm not sure. I have tried ProxyPreserveHost on, ProxyVia full, and some rewrite rules, but I'm not sure what I'm doing Direct access to the port of the app works (i.e. 83.xxx.x.xxx:9900), so i know it has something to do with the reverse proxy.
a snippet of my httpd-vhost.conf-user:
can you tell me of a few distribuitors/wholesale to get parts from for building a few 1U servers. I would like to find Supermicro cases/motherboards but if they are general computer parts I guess they work.
I know INGRAM Micro has a program to get discount or something, but haven't researched much about it.
Installed APF on a Fedora Core 6 box, had a problem with one of the modules (Unable to load iptables module (ipt_multiport), aborting) which was sorted by editing the functions file.
But I now get this come up 30 times when I start the firewall:
hostname: Unknown host
Some guides talk about setting a hostname but I dont have a domain name just an IP Address.
Then depending on what guide I look at there are references to different files. So I am not sure which file to edit.
I hope your day is going good. I've been trying to fix a problem I had all week. I receive daily email notification that "example.[url]" does not resolve to any IP. However, when in WHM, it already contains Server Main Ip: 208.53.183.125. I've tried a few solutions from the web, but to no avail:
IMPORTANT: Do not ignore this email.
The hostname (example.mydomainname.com) resolves to . It should resolve to 208.53.183.125. 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
1) Within WHM, I have the following:
-Add an A entry for your hostname (I only have one listed)
Hostname: example.mydomainname.com
Server Main Ip: 208.53.183.125
-Primary/secondary nameserver
Primary Nameserver: ns1.mydomainname.com (A entry = 208.53.181.26)
Secondary Nameserver: ns2.mydomainname.com (A entry = 208.53.181.27)
-Resolver Configuration
Primary Resolver: 66.90.68.25
Secondary Resolver: 66.90.68.26
-Additional IP my webhost gave me to use:
208.53.181.26 (used in primary name server)
208.53.181.27 (used in secondary name server)
208.53.181.28
-Current DNS Zone listing:
example.com (my website URL that is currently working)
example.mydomainname.com (hostname I made myself that contains the server main IP)
ns1.mydomainname.com (A entry = 208.53.181.26)
ns2.mydomainname.com (A entry = 208.53.181.27)
2) My edit "edit /etc/resolv.conf" contains the following:
Search localdomain
nameserver 66.90.68.25
nameserver 66.90.68.26
Issue: I receive daily email notification that "example.mydomainname.com" does not resolve to any IP. However, when in WHM, it already contains Server Main Ip: 208.53.183.125.
Here are the scenarios :
1. This Dedicated Server don't have main domain name but I use something like hostname.domain.com for the hostname.
2. The nameservers I use are something like ns21.domain.com and ns22.domain.com which I registered it already on my domain registrar.
3. Domain.com is use on other Dedicated server
Are these kind of setup okay? or should I really changed the hostname.domain.com to something else that is hosted on the same server?
I have a server with RHEL 5 installed. The problem is that the server shows the output of the hostname command as (none). I checked the /etc/sysconfig/network file and it shows the correct hostname. I also tried to change the hostname in the /etc/sysconfig/network file and restart the server. But hostname command still shows (none).
View 4 Replies View RelatedI have a dedicated server with WHM 11.23.2. I am in the process of "attempting" to change the hostname for a group of websites and also the nameservers.
Let's say for practical senses that these were the old details:
Hostname: abc.example.com
Nameservers: ns1.example.com and ns2.example.com
I changed in the following sections of WHM..
Server Configuration -> Basic cPanel/WHM Setup -> Hostname to
123.newsite.com
and then...
Networking Setup -> Hostname to 123.newsite.com
and then...
Server Configuration -> Basic cPanel/WHM Setup -> Primary Nameserver to ns1.newsite.com and then...
Server Configuration -> Basic cPanel/WHM Setup -> Secondary Nameserver to ns2.newsite.com.
Then...
Networking Setup -> Nameserver IPs. I deleted the old ones and created the two new ones: ns1.newsite.com and ns2.newsite.com.
I have double checked that this information is still there. Obviously newsite.com is listed as a domain/account. However, example.com was naturally the first one associated with this server.
I performed a server reboot, apache reset etc.
This was three days ago. I assumed it had all changed over. Until I (stupidly) remembered that I hadn't changed the goDaddy information to point to these new nameservers. I panicked thinking all the sites (six of them) would be down. However, they weren't. When I tried to change the nameserver information for a domain in goDaddy it came back with errors... it would only accept ns1.example.com and ns2.example.com.
So, I did a tracert to the IP address of the server and indeed it comes back as abc.example.com. Every domain is associated with that static IP.
I can't even find anywhere where abc.example.com is listed within the WHM. All the new values are listed... so, where is it pulling this from? I thought the reset of the server (as a graceful reboot) would resolve this issue.. it hasn't. I've rebooted twice and awaited the thirty minutes for everything to get back online. No success.
Quote:
The zone for the root domain splinteredmedia.net is missing, or could not be read. The ip address will be read from the webserver configuration and a new zone will be created for this subdomain. Bind reconfiguring on smpl using rndc Error reconfiguring bind on smpl: rndc: connect failed: 127.0.0.1#953: connection refused
Created DNS entry for ns1.splinteredmedia.net
Is the error i get when i try to add a entry for one of my nameservers.
I have cPanel on a CentOS 5.1 VPS
I am still pretty new to CentOS
how would i go about adding a zone and if somebody cpuld point me to a place where i can read exactly what it is and how to set it up i would be very grateful
I just got a deticated server with cPanel
Hostname: xyz.mydomain.com (example)
I tried to do a traceroute and I get this message
"unable to resolve target system name"
My registrar is GoDaddy. Is there something I need to set up for xyz?
I have my private NS set up, ns1/ns2.mydomain.com with their associated IPs.
on one server we have changed hostname.. and now we receive mail delivery failed as this:
You cannot setup a domain that is the same as the servers hostname
"
SMTP error from remote mail server after end of data:
host mail1.**.com [**.**.***.**]: 557 Your domain sun.***.net does not have a valid MX DNS record.
"
We have check under dnsstuff.com and for sun.***.net there aren't mx dns set
sun. is setting, under whm, into account www.***.net
we have try to add a new account for sun.***.net but system said
"You cannot setup a domain that is the same as the servers hostname"
So, How to set correctly MX DNS record for hostname?
my VPS with Steadcom has been running for about six months now and for the most part I'm very pleased.
I'm not all that skilled at running it yet, still learning.
First, My email was being blocked by some recipients, I am using sendmail. So I had to change the hostname and the hosts file, and the network file to my domain name, instead of the hostname Steadcom gave me. This fixed the email and it seems receipients are okay with the new settings.
However, whenever I restart the VPS, these files and the hostname get reset. How can I make it so these are not changed... is this something I have to bring up with Steadcom or is it a setting I'm not getting quite right?
Second... my webmin seems to have problems. I can log in, but then sometimes I cannot navigate to the areas I need to, as I'll get a page not found error. I have been stopping and restarting webmin, and that sometimes helps, but sometimes not and I have to restart the whole server. Which I really don't want to do just for webmin. I don't really know webmin that well, either, so would love some help on what I can do about this.
Third.. when I have SSH running I often get Brute Force warnings for a bot or someone trying to log in. So I just stop the service all together. But when I restart, it starts up again. How can I keep SSH from starting unless I need it?
I am with a server, I alter the hostname for the command:
root@servidor [~]# hostname newhostname.domain.com
But when I give the command below, it continues the same hostname.
root@servidor [~]# host IP_SERVER
186.18.232.72.in-addr.arpa domain name pointer actualhostname.domain.com
I already altered WHM and /etc/hosts, but anything.
I have one VPS with CentOs and WHm .
No I want to change the hostname for he VPS. So in how many server's configuration files I have to make the changes?
I've set up a few domains in WHM, though I noticed when I use Ping Plotter to do a traceroute on the domain, the result always shows host.mydomain.com as the last stop, instead of just mydomain.com:
Code:
Target Name: mydomain.com
"
"
12 84 ms CWIE-LLC.car1.Chicago1.Level3.net [43.793.208.66]
13 82 ms [80.71.21.100]
14 84 ms host.mydomain.com [23.32.14.91]
I was wondering, how can I configure the DNS in WHM so the last stop is just mydomain.com?
My server is fedora core 4
in whm :
Invalid Hostname. (This account is currently not available.). Hostnames must be
fully qualified domain names and not contain any spaces or tabs.
Say for example I have a cPanel dedicated server, with a hostname> earth.anonymous.com which is where I host several resold shared accounts all using my nameservers, ns2.anonymous.com and ns2.anonymous.com
I am using the cPanel dns, simply pointing the domain namesevers to two IP`s given in my IP allocation.
I wish to lease another server, using the hostname: venus.anonymous.com
This is where I start getting confused with the domain/dns. Would it be easier for me to use a third party dns service such as easydns to host the actual main domain dns?
If someone can understand what I`m getting at here, could they give me a few tips of getting this setup and easy and reliable as possible.
A lot of hosting companies are using anonymous hostnames, is this a good plan?
This is a really stupid question, but I honestly don't know the answer to it. After doing some searches, I'm still not sure what to do.
In Plesk, I have the ability to change my server's hostname.
The default hostname is "localhost.localdomain"
To what can I change this?
If I do...what will be affected?
I have a VPS with the hostname myhost.domain.com, with four IP addresses, one of which is assigned to a shared hosting account (using WHM/cPanel) at sub.domain.com.
For email delivery purposes (I'm sending e-commerce receipts (that MUST be delivered) from PHP apps running on sub.domain.com), do I need to set up reverse DNS entries that say their IP addresses belong to myhost.domain.com, or to sub.domain.com?
I got rvskin with whm and it seems whm create account for itself.But every time when i load whm i getting popup with error Hostname A Entry Missing!
The server was unable to lookup an an A entry for its hostname (ns175.domain.com). This is generally because the entry was never added. However this could also be the result of your nameserver(s) being down. If you would like to attempt to automatically add the entry, And i am sure i have that A entry.Any idea why is that happening ?
Hello I am totally new to Dedicated hosting
I got my server for $350 as I am going to host some high resource sites
Everything went well. I learned to use SSH plus I have Cpanel/WHM
One thing I am confused about is?
what exactly is this damn thing called "Hostname"? why do we need it and whats its significance?
in WHM I entered my hostname as "web1.mydomain.com" (where mydomain.com is one of my domains that I specially registered and is not being used anywhere else)
now in the A records for mydomain.com, am I supposed to give the IP of the server?
also what about the Nameservers for mydomain.com that I am supposed to enter in my domain admin panel, should I leave them blank?