Advertisement:

Author Topic: How to change server name??  (Read 231 times)

Offline Audiolee

  • Newbie
  • *
  • Posts: 2
How to change server name??
« on: October 16, 2020, 01:43:24 PM »
I have managed to install smf 2.1.7 on a Window 10 PC with XAMPP 3.2.4.

I placed the smf folder inside the htdocs folder in the XAMPP folder.

During installation, I didn't know the name of my forum yet so, I type in "localhost" as my servername.

Everything works OK as I add in the boards and themes. 

localhost mode


I just went live and to my dismay, when accessing my forum outside my network, I can only receive the texts but not the images and the formatting. 

Live Web Access View



Also clicking on the links, return an "Unable to load" error , the address indicated at  the top of the browser is "localhost" though I am browsing the forum via internet.



I believe I need to change the server name back to my domain name in order to make it work but how do I edit?   Do I install the install.php again and run it?  Would that destroy all the work I had done and reset the forum?

Please suggest what I should do.   Many thanks!

(Audio)

Offline Audiolee

  • Newbie
  • *
  • Posts: 2
How to change server name??
« Reply #1 on: October 16, 2020, 02:02:54 PM »
I have managed to install smf 2.1.7 on a Window 10 PC with XAMPP 3.2.4.

I placed the smf folder inside the htdocs folder in the XAMPP folder.

During installation, I didn't know the name of my forum yet so, I type in "localhost" as my servername.

Everything works OK as I add in the boards and themes. 

localhost mode


I just went live and to my dismay, when accessing my forum outside my network, I can only receive the texts but not the images and the formatting. 

Live Web Access View



Also clicking on the links, return an "Unable to load" error , the address indicated at  the top of the browser is "localhost" though I am browsing the forum via internet.



I believe I need to change the server name back to my domain name in order to make it work but how do I edit?   Do I install the install.php again and run it?  Would that destroy all the work I had done and reset the forum?

Please suggest what I should do.   Many thanks!

(Audio)

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 73,189
Re: How to change server name??
« Reply #2 on: October 16, 2020, 02:09:16 PM »
Well, hosting a forum in your own computer is usually a bad idea since it requires you opening up your network to the internet, normally something you only do on a setup designed with that in mind.

Changing the domain name requires buying one, directing it to whatever server is hosting it and then configuring it.
No good deed goes unpunished
All helpful urges should be circumvented

Offline m4z

  • 98.8% chimp
  • Localizer
  • Sophist Member
  • *
  • Posts: 1,380
  • /mÉ›s/
Re: How to change server name??
« Reply #3 on: October 16, 2020, 02:13:28 PM »
"Faith is what you have in things that don't exist."
--Homer Simpson

Es gibt hier im Forum ein deutsches Support-Board!
<werbung>Meine Freundin hat ihr erstes Buch veröffentlicht!</werbung>

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 73,189
Re: How to change server name??
« Reply #4 on: October 16, 2020, 02:16:22 PM »
That's not really the problem... and I explained a little more in https://www.simplemachines.org/community/index.php?topic=575244.msg4071163#msg4071163
No good deed goes unpunished
All helpful urges should be circumvented

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 60,262
  • Gender: Male
    • Kindred-999 on GitHub
Re: How to change server name??
« Reply #5 on: October 16, 2020, 03:08:49 PM »
topics merged.

Please do not double post the same question.
(other thread was also in the wrong board anyway)
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."