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

  • Home
  • SEARCH
  • 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 4543568
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T15:32:58+00:00 2026-05-21T15:32:58+00:00

I have a HTML page on server. When the page runs on a local

  • 0

I have a HTML page on server. When the page runs on a local system from server, can I somehow get the server IP from which the page is running?

Actually I have two HTML pages A (coded in HTML) & B (coded in flex) saved on server at same location. Through page A I am redirecting to page B. So for redirection I need to specify the url on which page B is located. I dont want to hardcode this URL because I have run these two pages on several servers, and each time I run on diff server I have to change the url.

So is there any possible by which I can find out on which server page A is running so that dynamically I can form the url for page B?

  • 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-21T15:32:59+00:00Added an answer on May 21, 2026 at 3:32 pm

    How do you implement the redirect?

    The simplest solution would not require you to find that information at all: simply use a relative redirect.

    If A is located at http://myserver.com/dir/a.html and B is located at http://myserver.com/dir/b.html, then simply redirect to b.html in A and you should be fine.

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

Sidebar

Related Questions

I have an HTML page with a JavaScript code that sends AJAX request. The
Let's say that I have the following HTML for a text box on an
I have a process that runs long, and I want to update a label
I have a master page with the following lines inside my <head> tags. <link
I am trying to refresh a div on a page with the server name
What's the best way to convert a PHP web app (with server-side MySQL database
So I'm new to json/ajax/jquery/webservices I am trying to do a join page whereby
I need help figuring out the best, cross-browser compatible way to SAVE user input
I want to start using GitHub Pages for my project's website. This simply requires

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.