Find the answer to your Linux question:
Results 1 to 4 of 4
Hi All, I am a newbie to linux and web hosting. I am trying to host my application to web. - I have a Static IP - I have a ...
  1. #1
    Just Joined!
    Join Date
    Mar 2010
    Posts
    4

    Problem in getting page using domain name

    Hi All,

    I am a newbie to linux and web hosting. I am trying to host my application to web.

    - I have a Static IP
    - I have a domain name
    - My application is ready and is in Java, JSP using struts
    - Operating system is Fedora 11
    - I have Apache2.2 and aswell as Tomcat 6.0

    Till now -

    I have deployed my application in Tomcat 6 and configured Apache2 to the hosted path and mapped domain to the tomcat localhost. ( Trying to connect Tomcat and apache to resolve servlet issue ... but thats not point of concern as of now)

    here my problem is, when i am trying to hit my domain url the page is not loading and displaying Address not found, where as when i tried my IP in browser, got a luck to see the page.


    Can anyone help me in this? Why i am not able to see my page using domain name? am i missing anything?

    Note - i am able to Ping my IP where as not able to ping the domain


    Any help is appreciated, and yah its very urgent to fix this
    TY

  2. #2
    Trusted Penguin elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    2,287
    The first thing that comes to mind is that you are not getting successfull name resolution. The second thing is that Apache is not configured to listen for requests to the name.

    Can you lookup the server by name using dig or nslookup?
    If the answer is no then you need to get a record added to your name server or your hosts file. If adding a record to a name server, it can take a few days to update depending on how it is set up.

    If the answer is yes, then you will need to look at your apache config and make sure that you are using name based virtual hosting and that the server is listening for the correct name on your site.

    I wouldn't even know where to start if it turns out to be a Tomcat issue!

    You would probably get better help in the servers forum.
    If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)


    My new blog. It's probably not as good as I think it is.

  3. #3
    Just Joined!
    Join Date
    Mar 2010
    Posts
    4
    Thanks for the informastion.

    I tried NSlookup and dig its saying 2 servers found but displaying connection timed out.

    ; (2 servers found)
    ;; global options: printcmd
    ;; connection timed out; no servers could be reached

    As i am very new to this could you please give a brief about name server. is it the same as hosts file.

    i tried changing my host file to map the domain name like

    static_ip domain_name

    but after that my system get stucked while rebooting. it takes around 30 min to but. I guess because its not able to resolve IP. I am in impression that host file contains those IP in your network which want to connect to your system.

    please clarify if i am wrong.

    thanks a lot for ur cooperation

  4. #4
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    you need to register your domain in DNS with that IP in order for people to be able to resolve it

    host file means nothing outside of the computer

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •