static config page for esp8266 but using wifimanager and network assigned ip

I am trying to make a config page that can have a static ip like for my device.

I dont want to use mDns .local because it is not reliable and wont work with android devices.

how can i set this page so that any device can access it (android, windows, iphone etc)

but yet the esp8266 will use apconnect and wifimanager to get its ip for connecting to the internet?

if someone can help me with the lines of code i need to do this it would be great

i have the webpage currently working as .local so what modifications are needed to make this work??

this is what i have currently

void setup() 
  pinMode(LED_PIN, OUTPUT);

  // wifi Manager to to handle wifi connection
  WiFiManager wifiManager;
    //wifiManager.resetSettings(); // Uncomment this to test WiFi Manager function
  WiFi.begin(ssid, password);
  while (WiFi.status() != WL_CONNECTED) {

  Serial.println("Wifi connection successful");

    Serial.println("Error Setting up Mdns");
  else Serial.println("Mdns responder success");