Sponsored Content
Top Forums Web Development CentOS 7 redirecting me to old disabled dev site when removed from sites-enabled Post 302937240 by crmpicco on Wednesday 4th of March 2015 10:27:02 AM
Old 03-04-2015
Quote:
Originally Posted by Neo
You should fix this error first:
Code:
httpd: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain.

I have resolved this error by following the advice from this answer - linux - httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName - Stack Overflow

Quote:
Originally Posted by Neo
See this output:

Code:
root@www:/website/logs/apache2# nslookup easydev.com
Server:	       8.8.8.8
Address:	8.8.8.8#53

Non-authoritative answer:
easydev.com	canonical name = pres.serverhome.com.
pres.serverhome.com	canonical name = thie5ku9.dsgeneration.com.
Name:	thie5ku9.dsgeneration.com
Address: 141.8.230.20

root@www:/website/logs/apache2# nslookup crmpicco.dev
Server:		8.8.8.8
Address:	8.8.8.8#53

Non-authoritative answer:
Name:	crmpicco.dev
Address: 127.0.53.53

I have easydev.com setup in my hosts file on Windows to point to my VM, so it wouldn't get to the outside world:

10.0.0.200 easydev.com

What would you recommend doing?
 

10 More Discussions You Might Find Interesting

1. Solaris

What is /dev/tty /dev/null and /dev/console

Hi, Anyone can help My solaris 8 system has the following /dev/null , /dev/tty and /dev/console All permission are lrwxrwxrwx Can this be change to a non-world write ?? any impact ?? (12 Replies)
Discussion started by: civic2005
12 Replies

2. UNIX for Dummies Questions & Answers

Redirecting several outputs to /dev/stdout

I have an executable that, depending on its input, outputs to either one file or several. It usually prints nothing on screen. The usual way to call this program is to specify an input and output filenames, like this: ./executable.exe -i inputfile -o outputfileIt will then try to use the output... (1 Reply)
Discussion started by: aplaydoc
1 Replies

3. Post Here to Contact Site Administrators and Moderators

Site features Disabled

I have a PC I often use to visit this site and for some reason the buttons (such as code tags) do not work for me using this machine.I am using IE and I have been through the preferences but can find no options that seem to be responsible for disabling these buttons.I have tried manually inpputing... (4 Replies)
Discussion started by: steadyonabix
4 Replies

4. UNIX for Dummies Questions & Answers

Redirecting site using .htaccess with masking

I am trying to redirect my site to another with masking using .htaccess. I have the redirect working, but it does not mask. Here is what I have in my .htaccess: RewriteEngine On rewritecond %{http_host} ^http://www.securepaynet.net/default.aspx?ci=1767&prog_id=globalnerds RewriteRule /... (0 Replies)
Discussion started by: globalnerds
0 Replies

5. UNIX for Dummies Questions & Answers

how to test whether is user is enabled on disabled in Radius

Hi i am having two linux machines M1 M2 ,where M1 is the main machine and the connector is M2 Radius services are installed in M2. i pulled M2 users which resides on /user/local/raddb/users to M1 .so that any changes made to user in M1 will be reflected in M2. now i am disabling a user from M1... (0 Replies)
Discussion started by: kalyankalyan
0 Replies

6. Red Hat

how to test whether is user is enabled on disabled in Radius

Hi i am having two linux machines M1 M2 ,where M1 is the main machine and the connector is M2 Radius services are installed in M2. i pulled M2 users which resides on /user/local/raddb/users to M1 .so that any changes made to user in M1 will be reflected in M2. now i am disabling a user from M1... (1 Reply)
Discussion started by: kalyankalyan
1 Replies

7. UNIX for Dummies Questions & Answers

know a particular user is disabled or enabled

Hi all, i had 500 users how can i know whether user is disabled or enabled Thanks, kalyan (8 Replies)
Discussion started by: kalyan212
8 Replies

8. Web Development

Apache - redirecting authenticated users to other sites

Hi everyone. Im really new here, so please have patience with me if i act out of order in any way. I do have some unix experience, but i would not call it extensive. The problem i am about to describe probably have a easy solution, but i have been unable to find it while speaking to Mr.Google... (4 Replies)
Discussion started by: antiw2k3
4 Replies

9. Shell Programming and Scripting

Redirecting standard out to /dev/null goes to file "/dev/null" instead

I apologize if this question has been answered else where or is too elementary. I ran across a KSH script (long unimportant story) that does this: if ; then CAS_SRC_LOG="/var/log/cas_src.log 2>&1" else CAS_SRC_LOG="/dev/null 2>&1" fithen does this: /usr/bin/echo "heartbeat:... (5 Replies)
Discussion started by: jbmorrisonjr
5 Replies

10. Linux

some sites are loading very slow on my centos proxy server

Hello everyone, I've installed squid proxy server in Linux centos machine for users.actually problem is when users browse some websites eg : WordPress.org, gravatar.com it loads very slow compare to others sites .my line is 4mbps and only 6 users for it.I've bypassed squid for myself via... (3 Replies)
Discussion started by: afybiz
3 Replies
nslookup(1M)						  System Administration Commands					      nslookup(1M)

NAME
nslookup - query Internet name servers interactively SYNOPSIS
nslookup [-option] [name | -] [server] DESCRIPTION
The nslookup utility is a program to query Internet domain name servers. It has two modes: interactive and non-interactive. Interactive mode allows the user to query name servers for information about various hosts and domains or to print a list of hosts in a domain. Non- interactive mode is used to print just the name and requested information for a host or domain. PARAMETERS
Interactive mode is entered in the following cases: 1. No arguments are given (the default name server is used). 2. The first argument is a hyphen (-) and the second argument is the host name or Internet address of a name server. Non-interactive mode is used when the name or Internet address of the host to be looked up is given as the first argument. The optional second argument specifies the host name or address of a name server. Options can also be specified on the command line if they precede the arguments and are prefixed with a hyphen. For example, to change the default query type to host information, and the initial timeout to 10 seconds, type: nslookup -query=hinfo -timeout=10 INTERACTIVE COMMANDS
host [server] Look up information for host using the current default server or using server, if specified. If host is an Internet address and the query type is A or PTR, the name of the host is returned. If host is a name and does not have a trailing period, the search list is used to qualify the name. To look up a host not in the current domain, append a period to the name. server domain Change the default server to domain; lserver uses the initial server to look up information about domain, while server uses lserver domain the current default server. If an authoritative answer can't be found, the names of servers that might have the answer are returned. root Not implemented. finger Not implemented. ls Not implemented. view Not implemented. help Not implemented. ? Not implemented. exit Exits the program. set keyword[=value] This command is used to change state information that affects the lookups. Valid keywords are: all Prints the current values of the frequently used options to set. Information about the current default server and host is also printed. class=value Change the query class to one of: IN the Internet class CH the Chaos class HS the Hesiod class ANY wildcard The class specifies the protocol group of the information. (Default = IN; abbreviation = cl) [no]debug Turn debugging mode on. More information is printed about the packet sent to the server and the resulting answer. (Default = nodebug; abbreviation = [no]deb) [no]d2 Turn debugging mode on. A lot more information is printed about the packet sent to the server and the resulting answer. (Default = nod2) domain=name Sets the search list to name. [no]search If the lookup request contains at least one period but doesn't end with a trailing period, append the domain names in the domain search list to the request until an answer is received. (Default = search) port=value Change the default TCP/UDP name server port to value. (Default = 53; abbreviation = po) querytype=value Change the top of the information query. (Default = A; abbreviations = q, ty) type=value [no]recurse Tell the name server to query other servers if it does not have the information. (Default = recurse; abbreviation = [no]rec) retry=number Set the number of retries to number. timeout=number Change the initial timeout interval for waiting for a reply to number seconds. [no]vc Always use a virtual circuit when sending requests to the server. (Default = novc) FILES
/etc/resolv.conf resolver configuration file ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | |Availability |SUNWbind9 | |Interface Stability |External | +-----------------------------+-----------------------------+ SEE ALSO
dig(1M), host(1M), named(1M), attributes(5) NOTES
Source for BIND9 is available in the SUNWbind9S package. SunOS 5.10 15 Dec 2004 nslookup(1M)
All times are GMT -4. The time now is 04:56 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy