Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

apache with domain

SpiceLMFSpiceLMF Member Posts: 5
[b][red]This message was edited by SpiceLMF at 2002-9-23 17:58:37[/red][/b][hr]
[b][red]This message was edited by SpiceLMF at 2002-9-23 17:58:9[/red][/b][hr]
hey i just got a domain a few days ago and i now have the domain fowarding to my ip address and masking my ip. Yet the masking masks all addresses of links.. even outside addresses. Also i cannot do something like for instance if my domain was www.mydomain.com i cannot do www.mydomain.com/myfolder/ now my question is there a way to configure apache so that instead of using my ip to contact my page i can just type in my domain. So i can stop using the company's crappy fowarding service. So what im saying is instead of having fowarding just have apache rename my ip or address to my site as my domain name. I found some stuff about changing the ServerName value and Virtual Host directives.. but im not sure what happens with these

here are some sites on what ive been thinking about
http://www.redhat.com/docs/manuals/linux/RHL-7.3-Manual/custom-guide/ch-apacheconf.html

http://httpd.apache.org/docs/mod/core.html#virtualhost

http://httpd.apache.org/docs/mod/core.html#servername

http://httpd.apache.org/docs/vhosts/name-based.html


thanks so much :D




Comments

  • JonathanJonathan Member Posts: 2,914
    Hi,

    There's a little more to this than Apache. Sure, you'll need to set the server name to your domain name, but you also have to set it up so that that domain is associated with the IP of your server.

    To do this, you need to either run your own nameserver or make a zone for your domain on a DNS server stating that it is to resolve to your IP address. There are services out there that do this, or you may be able to set this up at your domain registrar or forwarding service.

    I hope this has made it clearer rather than making you more confused!

    Jonathan



    -------------------------------------------
    Count your downloads:
    http://www.downloadcounter.com/
    And host your site:
    http://www.incrahost.com/
    Don't say I never give you anything... ;-)

Sign In or Register to comment.