?
Solved

Subdomains?

Posted on 2002-05-07
4
Medium Priority
?
288 Views
Last Modified: 2010-03-04
Hi,

I got stuck with my Apache configuration....
Along with my ISP subscription I also got the option to change my hostname.... so I changed it to "mystgamedev", which left me with the following address to my server:
mystgamedev.xs4all.nl

That's all worked fine and all for years now.. but now I want to have subdomains to that.... things like "paul.mystgamedev.xs4all.nl", or "www.mystgamedev.xs4all.nl" (which is what people type in pretty often to get to my site... which leaves them with Server Not Found)

So I thought I should have a look at this VirtualHost stuff... but I can't get anything to work for me, unfortunately :(
Is it at all possible for me to create subdomains (at least, in this manner), and if so, could someone please point out to me how, maybe with an example? I looked at several tutorials and the Apache docs, but I still couldn't get it to work.

Thanks in advance,


Paul
0
Comment
Question by:mgdPaul
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 15

Accepted Solution

by:
samri earned 1200 total points
ID: 6995587
Paul,

Do you enable VIrtualHosting on your apache?  If YES, then the first defined VirtualHost would be the default VirtualHost for any request not matching other VH.

Another thing to look is the DNS.  You need to have an A, or CNAME record for each of the new sites that you would be using.  Assuming that;

mystgamedev.xs4all.nl   IN   A 1.2.3.4

You need to add (or have your ISP to add)
paul.mystgamedev.xs4all.nl. IN CNAME mystgamedev.xs4all.nl.
www.mystgamedev.xs4all.nl.   IN CNAME mystgamedev.xs4all.nl.

In you zone file.

If you are not using VirtualHost, everything should be OK, just make sure that the DNS is configured though.

cheers.
0
 
LVL 15

Expert Comment

by:samri
ID: 7075899
Paul,

did you managed to get your apache configure or are you still struggling... and almost giving up.
0
 

Author Comment

by:mgdPaul
ID: 7862457
Sorry for the incredibly long delay. It's been a long time since I've last been here. I noticed I still had an open question to which someone already gave me an answer. It appears that in order for the whole www.blah business to work for me I should contact my ISP. Same with running a mailserver here, people can't send me mail directly to my mailserver, cause for that to work my ISP needs to add/change/whatever an MX record for me. Too bad :)

Thank you for your answer though.
0
 
LVL 15

Expert Comment

by:samri
ID: 7863419
Pual,

glad to be able to shed some light!

cheers.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you are running a LAMP infrastructure, this little code snippet is very helpful if you are serving lots of HTML, JavaScript and CSS-related information. The mod_deflate module, which is part of the Apache 2.2 application, provides the DEFLATE…
If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question