Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
raminaa niilian
Ranch Hand
Posts: 551
  • Mark post as helpful
  • send pies
  • 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
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • 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
  • 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 Redhat VI Editor
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic