• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

defining a domain on local computer by using tomcat .is t possible ?, please

 
Ranch Hand
Posts: 551
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you for reading
I need a way to make www.abcdefg.com on my local computer and test that what is going wrong.

Main Question :

Is it possible for me to have A fully qualified Domain Name on my local computer
I should use Tomcat as Servlet hosting.
So i want a solution to make a domain on my computer and when i type : www.abcdefg.com in
the browser it opens the local site which have made myself.
I have Windows XP pro.

pleas some one help me about this
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by raminaa niilian:
Thank you for reading
I need a way to make www.abcdefg.com on my local computer and test that what is going wrong.

Main Question :

Is it possible for me to have A fully qualified Domain Name on my local computer
I should use Tomcat as Servlet hosting.
So i want a solution to make a domain on my computer and when i type : www.abcdefg.com in
the browser it opens the local site which have made myself.
I have Windows XP pro.

pleas some one help me about this




You can add www.abcdefg.com to your hosts file and have it point to 127.0.0.1, which is your local machine.
sts" exists in different places depending on your version of Windows.

Once you've done that, you can create a new host in your TOMCAT/conf/server.xml file to only listen for requests to www.abcdefg.com.
 
raminaa niilian
Ranch Hand
Posts: 551
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
Thanks for reply , but where is the host file ?
Im not pro and i have windows XP PRO - SP2
is it possible for win xp to do that ?
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Do a file search for a file named "hosts" -- no file extension.
It's usually under c:\WINDOWS\etc\drivers... or something similar.
Let the search feature find it for you.
reply
    Bookmark Topic Watch Topic
  • New Topic