Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6598447
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T18:21:01+00:00 2026-05-25T18:21:01+00:00

I want to redirect request on my local webserver much like http://localhost/ redirects to

  • 0

I want to redirect request on my local webserver much like “http://localhost/” redirects to my ServerRoot. I have seen it done with “http://www/” and also with “http://helpdesk/” How would I go about adding my own?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T18:21:02+00:00Added an answer on May 25, 2026 at 6:21 pm

    Are you saying you want to redirect something like http://custom to your web server? If so you can do this by creating an entry in your hosts file, or configuring your local DNS server to return local addresses for those hostnames.

    Add the following to your hosts file (On *nix /etc/hosts and C:\Windows\System32\drivers\etc\hosts on Windows)

    127.0.0.1 custom http://www.custom

    Then you can optionally configure a virtual host on your Apache server to handle requests for those hosts. If you don’t create a virtual host, it will just serve up the same content as localhost. You can also have your local webserver host the site and add that entry to your local PC’s hosts file and be able to browse it from that hostname as well.

    If that isn’t what you wanted, can you please clarify your question.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Little question with .htaccess rewrite rule.. I want to redirect http request like that:
I want to redirect all requests for index.html|php|php5 to http://www.domain.co.uk/ using mod_rewrite and I've
I want to redirect one specific url like: www.example.com/test/ex.gif to static.example.com/ex.gif How can i
I Have done a site but want to redirect it to another subdomain in
You see, I want to redirect [R] from http://www.domain.com/dir1/ to http://www.domain.com/ . I also
i want redirect all request to *.exapmle.com/foo/bar?moo=soo TO exapmle.net/foo/bar?moo=soo for example www.exapmle.com/foo/bar?moo=soo TO exapmle.net/foo/bar?moo=soo
I am using ASP.NET 2.0 C#. I want to redirect all request for my
I'm using Apache and I want to redirect all received request to the ssl
two parts.... PART 1 - I want to redirect any request to a directory
How to implement timeout in this code: Response.Write(@<script language='javascript'>alert('some alert');</script>); Response.Redirect(Request.ApplicationPath); I want to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.