General :: Command To Determine Where Domain Is Hosted?
Jun 13, 2010Is there a linux/unix command that will return where a domain is hosted at? Basically, the command that is used for [URL]?
View 1 RepliesIs there a linux/unix command that will return where a domain is hosted at? Basically, the command that is used for [URL]?
View 1 RepliesIs there a way you can view all domain names hosted on an IP address using dig or whois? Say if a server is using Name Based hosting??
View 5 Replies View RelatedIs there any way to figure out where some domain is being hosted?
View 3 Replies View RelatedI'm debugging some kind of a SOAP problem. I can use wget for any domain I want, besides domains that are hosted on the server itself.
What could it be? Centos firewall & selinux are turned off.
(domains / ips removed from code)
[root@http1 ~]# wget http://www.google.com
--12:09:53-- http://www.google.com/
Resolving www.google.com... 74.125.93.103, 74.125.93.104, 74.125.93.105, ...
Connecting to www.google.com|74.125.93.103|:80... connected.
[Code].....
Normally, on my website, files are either handled by WordPress or by me doing FTP. I'd like to copy my entire site to a new folder. I don't want to copy it down to my local drive (with wget) and then just upload it. How close is this to the line I'd need (except near midnight)
mv -r fromfolder \%todaysdate%
I've played with Unix and Linux for a few days over the years, but I'm a Windows (and DOS-prompt) guy. So, I don't know how to get to the server's command prompt on my 1and1-hosted site.
When you run the following cp command in the BASH terminal, how does Linux know which files are the source and which are the destination when copying multiple files from one location to another?How does Linux know that the services, motd, fstab, and hosts files are the source and the /home/fred/my_dir is the destination?This question came up in a Linux class and I was not sure of the answer. I was thinking it is based on the source path entered ending with a file path and the destination being a directory, but was not sure.
View 4 Replies View Relatedi compiled and install postfix, and i using relayhost that point to my ISP. but my "DNS server" is on the same server where is installed postfix. and there is running apache with vhosts so i have domain that hosted on same server and in zonefiles of my domain my MX records points to Google Apps, to google's MX servers. But when i try send E-mail via sendmail to mail@mydomainonsameserver.com it not deliver mail to Google Apps totally, if i try to send to another E-mail everything fine it deliver it. so finally i done research this problem in Internet. And find that need to disable deliver mail to localhost(localdelivery)as i think postfix understand that the domain point to the same server where postfix have itself. and try to deliver mail local. but zonefile MX record even the domain on same server can point to another server outside. So i disabled localdelivery in postfix. and problem not fixed
View 2 Replies View RelatedFirstly I would like to say that Linux is very cool, especially the CLI. I have been trying to learn how to do some things in Fedora after being told Fedora was a good distro to get my feet wet. I have run into some issues and cant seem to find any answers. What Linux utility can be configured to automatically save the current logs?
How does your Fedora get an IP number? What IP numbers has your Fedora been assigned since it was installed (based on the logs you have)? What command did you run to determine the IP numbers? What command would you run to determine the number of times a user successfully used "su"? What command would you run to determine the number of times a user unsuccessfully used "su"? Having some issues with the file system as your Fedora boots up.
Let's say I have a bash script called log.sh. In this script, I want to read in input from a pipe, but I also want to know the command used to pipe input into me. Example:
tail -f /var/log/httpd/error | log.sh
In the shell script, I want to know the command tail -f /var/log/httpd/error.
I am getting this
[root@ncc1701 ~]# hostname
ncc1701
[root@ncc1701 ~]# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using 63.123.155.104 for ServerName
[ OK ]
problem is that I have no idea where it is getting the 63.123.155.104 address from. Its not mine and its not the IP of the server..
How do I put the FQDN in the etc/hosts file, server ip is 192.168.2.101 hostname - promisedland fqdn - promisedland.dyndns.org I just want to set up a web based file server. Here is what i put in hosts (/etc)-gedit
[Code]...
I am facing an error:"Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using TestServer.localdomain.com for ServerName"When I am restarting the httpd service.Can anyone please tell me what is this error about & how to fix it.bare with me as I am a newbie, so kindly requesting for the easy explanation.steps to set the Domain name.
View 1 Replies View RelatedIn Linux, I'd like to know how to find the file(s) if any which as using a particular sector on the hard drive (ext2/3). There is a similar question here regarding Windows, however I need a Linux command line solution (this is a headless system).
View 1 Replies View RelatedUsing Debian Lenny I'm getting the following message in my mail: /etc/cron.daily/logrotate:
Quote:
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
I get the following error while starting apache httpd
Code: httpd: Could not determine the server's fully qualified domain name, using <Server's-ip-address> for ServerName I googled it and have come across the following solutions, all of them involve changing the ServerName setting in httpd.conf:ServerName localhost ServerName www.example.com:80 ServerName <ip-address-of-server> ServerName <hostname-of-machine/FQDN>
I am setting up httpd to be accessed from over a LAN, so i don't have a .com domain name. I am thinking of going with the first option, it seems to be working...
The man page seems to indicate no. There is /etc/rc.d/init.d/halt on Fedora. It has a hard coded pause in it, but there's got to be a better way than to change that script.
View 2 Replies View RelatedWhen I typed netstat -lna, the output:
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:580 0.0.0.0:* LISTEN
...
...
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node
unix 2 [ ACC ] STREAM LISTENING 23581
...
...
Can anyone explain to me:
1. What is "Active Internet connections" & "Active UNIX domain sockets"?
2. What is unix Proto?
3. Difference between LISTEN and LISTENING state.
Is there any elegant (and preferably uniform) way to determine IP address assigned to a DHCP/PPP interface inside a post-up command?
View 2 Replies View RelatedI have a headless server set up with no GUI on board.I know there is some way to display the installed hardware , I just can't remember how.What I'm looking for in particular is determine the type and speed of the PCI-e slots.
View 2 Replies View RelatedIs there any command which could help me to determine which host name (domain name) an IP is connecting to from the command line?
View 5 Replies View RelatedOperating system CentOS Linux 5.5 Kernel and CPU Linux 2.6.18-194.11.3.el5 on x86_64 hosted with sonic.net
we have a strange setup for one of our clients... the problem is that the machine was orginal setup with mysql and php and when they build out the website...
the other guys installed lampp and setup the website into the htdocs folder into the lampp directory.
the problem is that when we SSH. we get into a different mysql
and the website is running on it's own mysql setup which was originally setup with lampp.
now, we want to setup another database and it won't let us do it... just because we don't have the root username and password for the mysql of lampp.
bottomline, we have two mysql's running on the same matchine.
1. we can ssh into.
2. the website runs on.
is there any way we can reset the passsword of the phpmyadmin of the lampp root user.
I cannot find a bash command: "file" !
It say "-bash: file: command not found"
"file" is used to determine file type on a bash right ? is there a package i have to install ? deprecated ?
I use debian wheezy distro
When at the console, what is the command (if there is one) to determine memory usage (used/free) on the hard drive that is being used for one's OS?
View 2 Replies View RelatedI want to give Administrator privileges to Root user in Linux Domain Controller
View 12 Replies View RelatedI want to host 5 websites on my new virtual server so I have created 2 nameservers that point to my virtual server's IP addresses as a glue record. What confuses me is when I create a new domain on my server it gives the new domain it's own nameservers (ns1.thenewdomain.co.uk etc) do I need to change these records so they use the nameservers I created earlier? If I do? Which particular records should I change? I'm running a Unix virtual server with a Plesk control panel.
View 2 Replies View RelatedI will be doing actual development and testing on the same machine as the server. It is a single user machine in the sense that I will be the only one working on the machine. There will be multiple hosted languages, specifically PHP and RoR while possibly expanding later. I'd like the setup to translate well to a production environment. With those 3 things in mind there are a couple of things I've had in the back of mind.Seeing as it's a single user machine I haven't been able to decide whether or not I should be working on things out of my home directory or if they should be located outside of it.I'm feeling that outside of a user directory would be better as it would translate better to a production environment, but I'm also not sure if that will come with any permission annoyances or concerns seeing as I'll be working on the same machine. Hosting multiple languages seems like it may be a bit quirky. With PHP I've found you're generally just dumping the project somewhere in the document root where as something like a Rails app you have the entire project and you only want the public directory in the document root.
View 1 Replies View RelatedI would like to use an extra physical hard drive in my linux server to provide my wife a place to backup her Windows XP desktop.I am willing to format this drive as NTFS (or anything else) and have it dedicated to this purpose. I am wondering what is the easiest way to proceed?
View 1 Replies View RelatedWhere would I go to find a guide on a how-to for Linux website administration? I want to learn how to create a simple site dedicated to my blog. I already have a blog hosted by wordpress. I want to learn how to administrate my own blog using Apache hosted by GoDaddy.com or some other host.
View 2 Replies View RelatedI need to start a xen domain from console with xm command but the 'new' sub command is missing?
[root@sambie xen]# xm new CENTOS-5.3-PDC
Error: Sub Command new not found!
I have both desktop and notebook with Ubuntu 10.10.In the desktop, net domain correctly displays domain and server name, but in the notebook both appear as blank. Maybe that's the reason why I can't see the shares in the desktop from the notebook.How do I set the domain and machine name from the terminal command line?
View 2 Replies View Related