Somehow, executing the first program goes properly, yet when I try to print the IP address for the 2nd program, I don't get a result unless I press the reset button on the board. I also tried using the example sketch included on the esp8266 library and I still need to push the reset button.
When I do get a result, the output starts with a bunch of garbage then tells me the server ip at the end.
I moved your topic to an appropriate forum category @exxodia .
In the future, please take some time to pick the forum category that best suits the subject of your topic. There is an "About the _____ category" topic at the top of each category that explains its purpose.
That is pretty normal. The ESP8266 sends out a boot message at 74880bps, which translates to garbage at 115200.
Also that you have to press to reset button is normal. Unlike on an UNO or Mega the ESP does not automatically reset when you open the Serial monitor. So if the Message has been sent already, it won't send it again. Mind you the AP IP address is always 192.168.4.1 unless you program it to be something else.
It is not the best tutorial i have seen, but not complete trash i suppose. Even the examples that come with the built-in ESP8266Webserver are better though.