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)
-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.
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).
I 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.
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
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'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?
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 ?
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?
one of my clients told me he tried to send an email to somebody and he receives this error:
The addresses to which the message has not yet been delivered are:
a.......u@a.......t.ro Delay reason: SMTP error from remote mail server after MAIL FROM:<a.......r@i.....s.ro>: host mail.a.....t.ro [82.77.203.xx]: 451 4.1.8 Possibly forged hostname for 67.222.136.xx
No action is required on your part. Delivery attempts will continue for some time, and this warning may be repeated at intervals if the message remains undelivered. Eventually the mail delivery software will give up, and when that happens, the message will be returned to you. Last message received on 17.06.2009 at 16:10
Any ideea what might be? he's having this problem only when tries to send an email to that email address, and I'm not sure if it's a problem on our server or on their server
i spent quite some time, but its just not working.
i own a domain called exampledomain.com
now i give hostname as quick.exampledomain.com and in my registrar i have added ns1.exampledomain.com and ns2, and to the ip addresses that were bound to my VPS.
now when i go to cpanel setup, and add ns1.exampledomain.com, it will binditself to my main server public IP.
I have one server with multiple websites hosted on it. It's powered with Cpanel / WHM.
When I run the command 'wget mydomain.com' from this server, I download a Cpanel / WHM landing page instead of the actual homepage from mydomain.com.
I can successfully load mydomain.com in a browser. I can also run the 'wget' command from my local computer and download the correct homepage.
When I run this command from the server mydomain.com is hosted on, Apache returns the home page for the default virtual host for my IP address (ie. cpanel landing page). I encounter this same problem when using CURL or PHP Sockets.
I am behind a firewall. Could this be causing the issue? Does anyone have any ideas how I could fix this?
This is a big problem as I have websites that need to use a web service from a domain hosted on the same machine.
I am currently with MediaTemple and my hostname is automatcially as.mydomain.com, they have told me that the as is deprecated now and I can chose what to put for the hostname... Do I just put www is that how it works?
I currently have a domain registered at godaddy.com
the domain is NDSuniverse.com
I've ordered a VPS at skodagroup.com, they given me WHT VPS Pro, Cpanel, LXadmin contrtol panel.
quote from e-mail Custom DNS Server Addresses ============================= The custom DNS addresses you should set for your domain to use are: Primary DNS: ns1 Secondary DNS: ns2
You will have to login to your registrar and find the area where you can specify both of your custom name server addresses.
After adding these custom nameservers to your domain registrar control panel, it will take 24 to 48 hours for your domain to delegate authority to your DNS server. Once this has taken effect, your DNS server has control over the DNS records for the domains which use your custom name server addresses.
they didn't give me any nameserver DNS....
How can i get my domain hosted onto my VPS asap? Step by step instructions really needed. thank you.
I am having a problem. My server was able to ping google.com successfully before installing DirectAdmin.
However after installing DirectAdmin, I am no longer able to ping google.com anymore. I just get a host cannot be found error. This is the same with all other domains.
The /etc/resolv.conf is exactly the same, so I do not know the issue. I also have other servers using the same nameserver and are still able to ping and resolve successfully.
The main problem here is that exim no longer can send email as it cannot lookup the hostnames.
the error from exim is: R=lookuphost defer (-1): host lookup did not complete.
I am getting a problem that after my reseller client's clients sign in to their cpanel they see server.myhostname.com url in their address bar. This started after upgrading to cpanel 11 yesterday
I have these options set in whm:
** When visiting /cpanel or /whm or /webmail WITHOUT SSL, you can choose to redirect to:
Origin Domain Name
** When visiting /cpanel or /whm or /webmail with SSL, you can choose to redirect to:
SSL Certificate Name
Webmail is extremely slow as well for some reason.
How is this done? from what I gether, there's nothing built into apache which can do this which I personally think is a bit silly as it seems like a common thing. Can anyone offer any help (for apache 2).
IP 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
At one point I was able to access the hostname WITHOUT a alias entry in the DNS config. Then, I must have done something... because now I need an A record with purple pointing to the correct IP to get at it.
What did I do? Usually the hostname doesn't need to be entered in to BIND (or whatever DNS package)... is that right?
I'm in the process of trying to pin down a couple errors I've been running into, and after installing and configuring SSL I have occasionally been receiving the following error: