I want to use my line feature class to run analysis.

Hi all, I have made a map that shows all the pedestrian walkways for my University's campus. I have created the network dataset and it runs in ArcMap but when I share it as a service so I can use it in ArcOnline I am having trouble using analysis features such as "Find Nearest" or "Create Route". Whenever I try to create a route, it will not use my line feature class as a means of routing, rather ArcOnline follows streets as I am assuming that is the default when using these tools, but this map is intended for the walkways I have drawn only. Any idea why this may be occurring?