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 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 that uses AJAX to retrieve messages from a server.
I have a page called index.html which takes in a few variable from the
I have an html page which has a link called open. Once the link
I have this html page which is very simple, it contains a text box
I have a html page with a form. The form has Div which gets
I have created an Html 5 page that provides important server-side functionality. Unfortunately, it
I have a php page that runs on a local uri on a local
I reload a page every few seconds to get an update from the server,
I have to create a chat server page chat.html using node.js. I have used
I have an ASPX page (On server A) which is invoked using NTLM credentials.

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.