setup a domain with no www prefix


 
Thread Tools Search this Thread
Special Forums IP Networking setup a domain with no www prefix
# 1  
Old 11-07-2008
setup a domain with no www prefix

Not sure if this is the right forum for this so I apologize.
I am setting up zone records for a domain that will be forwarding to another domain. Right now if you go to www.mydomain.com it forwards to the correct site. but when i go to mydomain.com and just goes to an apache holder page. How do I get mydomain.com to forward to the the other site like www.mydomain does?

This how I have the records are setup now

NS ns1.domainserver.com
NS ns2.domainserver.com
NS ns3.domainserver.com
A 216.117.xxx.xxx
www A 216.117.xxx.xxx

Also right now if I do an nslookup for both www.mydomain.com and mydomain.com they are pointing to the correct ip address. So I must be messing something to get mydomain.com to resolve/forward to the other site.

Thanks!
# 2  
Old 11-07-2008
You have something setup wrong on the server hosting the website. If you use apache make sure that you have mydomain.com in the Serveralias section in the virtual host.
# 3  
Old 11-07-2008
this is weird apparently the company that owns the domain who we are hosting told me they are in control of the records and to delete the A and www record on our end . that they will just point to our server.
Is that correct?
# 4  
Old 11-07-2008
That would only make sense if your domain uses dns servers on their server as well as your server. I highly doubt that is the case though.

You can check what nameservers your domain is using here:

http://www.internic.net/whois.html
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Extract Uniq prefix from a start and end prefix

Dear All, assume i have a file with content: <Start>6000</Start> <Stop>7599</Stop> the output is: 6000 7000 7100 7200 7300 7400 7599 how should we use any awk, sed, perl can do this task, means to extract the uniq prefixes from the start and stop prefix. Thanks Jimmy (3 Replies)
Discussion started by: jimmy_y
3 Replies

2. UNIX for Advanced & Expert Users

Prefix/Suffix on same file

Hi, I want to add prefix and suffix on line# 205 using SED or AWK and want to change on the same file without creating new file. This command will be used in the bash script Am using Bash shell Regards Nayaj (3 Replies)
Discussion started by: Nayaj
3 Replies

3. Shell Programming and Scripting

Prefix integer with zeros

I want an integer to be prefix with some zeros so that it makes the integer 5 digit always: For eg: if the digit is 8 i need 00008 if the digit is 8976 ans sud be 08976. Could anyone say simple and efficient commands to this in ksh. Thanks a lot... (4 Replies)
Discussion started by: PRKS
4 Replies

4. UNIX for Dummies Questions & Answers

--prefix question

OK, now I just feel plain silly asking this. But I am very much a beginner at compiling and installing Unix software, so... When setting the prefix, do you also have to specify the directory the files reside in? For example, lets say I am installing cURL in /usr/local Would I set the prefix... (1 Reply)
Discussion started by: RobertSubnet
1 Replies

5. Windows & DOS: Issues & Discussions

How to: Linux BOX in Windows Domain (w/out joining the domain)

Dear Expert, i have linux box that is running in the windows domain, BUT did not being a member of the domain. as I am not the System Administrator so I have no control on the server in the network, such as modify dns entry , add the linux box in AD and domain record and so on that relevant. ... (2 Replies)
Discussion started by: regmaster
2 Replies

6. UNIX for Dummies Questions & Answers

how to cut prefix from a string

I have a file: chromosome1:436728 chromosome2:32892 ..... chromosome22:23781 I just want to get the number, not the prefix "chromosomeX", so I want to remove all the prefix ahead of the numbers. How can I do that?? Thanks!!! (PS: give me some very simple command so that I can understand... (4 Replies)
Discussion started by: kaixinsjtu
4 Replies

7. AIX

NIM server setup on etherchannel setup environment

I know that IBM's official stance is that NIM does not work on etherchannel environment, but has anyone able to get around it? I'm working on a p5-590 LPAR system, and the NIM master and clients are all on the same frame. Any help is appreciated. (1 Reply)
Discussion started by: pdtak
1 Replies

8. OS X (Apple)

Let's get a .mac top level domain! As in www.xyz.mac

ICANN, the Internet Corporation for Assigned Names and Numbers, is inviting proposals for new sponsored top level domains. This may be wishful thinking, but isn't that a chance to push for a .mac top level domain (TLD)? I for one would VASTLY like the idea of having a domain of something.mac --... (0 Replies)
Discussion started by: ropers
0 Replies
Login or Register to Ask a Question