08-27-2010
Strip subdomains from domains list
Hello,
I'm trying to strip all the subdomains from a domains list.
Let's say the list is:
----------
http://add.my.yahoo.com
ad.doubleclick.net
admin.searchhippo.com
www.advertise.about.com.br
----------
I need to get
-----------
yahoo.com
doubleclick.net
searchhippo.com
about.com.br
------------
9 More Discussions You Might Find Interesting
1. IP Networking
Hello,
I'd like to set up a subdomain. For instance, me.mydomain.com, instead of mydomain.com/me.
I have a dedicated unix server running Apache OS.
How do I do this? Any help given will be greatly appreciated and thanks in advance.
-Matt (1 Reply)
Discussion started by: matman
1 Replies
2. UNIX for Dummies Questions & Answers
Hello,
I have 3 domains virtually hosted "name based" the first one "domain1.com" has its ServerName entered as domain1.com. this domain will load in a browser by www.domain1.com or simply domain1.com. the next two domains "domain2.com" and "domain3.com" ServerNames are listed as domain2.com and... (2 Replies)
Discussion started by: ericg
2 Replies
3. UNIX for Dummies Questions & Answers
Dear All ,
Kindly note I have sun solaries 7 .
I want to block a domain who keep sending emails to my domain and users .
thanks (1 Reply)
Discussion started by: tamemi
1 Replies
4. UNIX for Dummies Questions & Answers
ok i am setting up dns or going to do it with solaris 9 once u setup the domain what file can u look @ to see if it setup or not (4 Replies)
Discussion started by: rmuhammad
4 Replies
5. UNIX for Dummies Questions & Answers
Edit, Sorry realised that muxtape.com is probably not creating a sub-domain for every accout but more than likely using a wildcard in the apache config and then using php/asp/java or similar to look at the url and point it in the right direction. So youraccount.muxtape.com maps to... (0 Replies)
Discussion started by: elduderino
0 Replies
6. UNIX for Advanced & Expert Users
I have a system that is connected to a private network with its own DNS (call it "privnet."), and is also connected to the Internet on a separate interface.
Is it possible to convince this server to query the private nameserver for the private network's domain (e.g. "host foo.privnet."), and the... (2 Replies)
Discussion started by: vertigo23
2 Replies
7. Shell Programming and Scripting
I am the new user
I want to find out sub domains in the URL using shell script.
e.g
http://abcd:8380/matcher
This is the URL. The suburl is given below
http://abcd:8380/matcher/servlet/viewnudatasource
http://abcd:8380/matcher/servlet/addnudatasource... (4 Replies)
Discussion started by: mnmonu
4 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I have a report containing severals organization's email address. The address contain several sub domains, and i need to pull those out.
mail domain ( example.com)
..................
The report column contain mail address in this format :
john1@sub1.example.com... (2 Replies)
Discussion started by: john_prince
2 Replies
9. IP Networking
Hey everyone. I work in a data center, and I'm working on getting my CCNA. Now when I read articles on the idea of VLAN's it makes sense. Especially if you have multiple switches daisy chained in multiple locations. My two main questions though are that most of these examples use PC's as examples... (2 Replies)
Discussion started by: Lost in Cyberia
2 Replies
LEARN ABOUT PLAN9
asadmin-list-domains
asadmin-list-domains(1AS) User Commands asadmin-list-domains(1AS)
NAME
asadmin-list-domains, list-domains - lists the domains in the given domains directory
SYNOPSIS
list-domains [--domaindir install_dir/domains] [--terse=false] [--echo=false]
list-domains lists the domains in the given domains directory. This command is supported in local mode only.
OPTIONS
--domaindir directory where the domains are located. If specified, path must be accessible in the filesystem. If not specified,
the domains in the default install_dir/domains directory are listed.
--terse indicates that any output data must be very concise, typically avoiding human-friendly sentences and favoring well-
formatted data for consumption by a script.
--echo setting to true will echo the command line statement on the standard output.
Example 1: Using list-domains
asadmin> list-domains
List of domains:
domain1 running
samples not running
Where: the domain1 and samples are listed and their status printed.
EXIT STATUS
0 command executed successfully
1 error in executing the command
asadmin-create-domain(1AS), asadmin-delete-domain(1AS), asadmin-start-domain(1AS), asadmin-stop-domain(1AS)
J2EE 1.4 SDK March 2004 asadmin-list-domains(1AS)