If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 2 of 2
  1. #1
    CPW is offline
    Join Date
    Sep 2006
    Member #
    Hey everybody,

    I'm running the latest version of Ubuntu Server for testing and design websites locally. The server's hostname is currently 'server3', so to access it in a browser on my Windows 7 RC computer, I type http://server3, or even better,

    What I want to be able to do is go to and other subdomains like that. I understand how to set those up in Apache, but I also need some way for my browser to know that is on server3. I've seen people do this by editing the hosts file on the client computer (the Windows one in this case), but I would like to do it without touching anything on the client computers.

    The way I understand it, with a "real" website, the domain name points to the name servers for the website, which in turn point to the correct IP addresses. The name servers would hold the entries for any subdomains.

    In my case, I suppose I need server3 to be its own name server, if that makes sense. Going to would, theoretically, use the name server on server3 to point back to server3 for that subdomain. Apache would handle the rest.

    I don't know if my logic is completely accurate since I'm fairly new to learning how DNS works, but I would appreciate any help you guys can provide.



  3. #2
    Senior Member hagen's Avatar
    Join Date
    Aug 2005
    Member #
    1 times
    Hi there, donno :-)

    Seems like a complicated way of doing it... Guess you may have your reasons...

    You could consider using a redirect and a subfolder...

    IE maybe set a session variable for test and use a frame / similar redirect...

    Anyway just an idea...

    Hagen Rose: hagen(at)jxwd(dot)co(dot)uk
    JX Web Development, Bournemouth,

Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
All times are GMT -6. The time now is 09:41 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: