Confusing about permalink

Try checking your settings under Settings > General. Is your Site Address (URL) set to http://dev.domain.com? The next place I would look would be Settings > Permalinks.